HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Dialog Menu Help

11-16-2003, 11:51 PM#1
Bolt
You know how you have the event

Dialog - A Dialog Button is clicked for (variable)

How do you refer to the player clicking the button?
11-16-2003, 11:55 PM#2
linkmaster23
Trigger One.

Map Init.

Create a Dialog Button for (dialog) named (name)
Set variable- (Dialog button) last created dialog

Trigger 2

A dialog button is clicked for (dialog)

Actions- If then else Multiple actions, or if then else action. depends on what u want.

:D :D :D :D :D :D:D:D::D:D:D:D:D:D:
11-16-2003, 11:58 PM#3
Bolt
I have the menu, but this menu appears to everyone. So.. I want who ever presses the button in that trigger to refer to that player.
11-17-2003, 12:05 AM#4
weaaddar
Short Answer:
you can't.
Long Answer:
Create an array of dialogs. And run an event which checks which dialog boxs was clicked on. Then find out which button was pressed on which box.
11-17-2003, 12:11 AM#5
linkmaster23
YEA YEA!Thats what i sayed:( :( :( :( :( :(
11-30-2003, 07:02 AM#6
I)arknezz
if this is what u mean, im currently making it... :


a dialog button i clicked for <dialog>.

if : dialog button = (YOUR VARIABLE)
then: example= create a peasent for <triggering player> at his start possition.

Now u have made so the trigger refers to the player who clicks, without using any players names..

Mayb im jstu total noob and u meant something much more complicated emote_sweat