• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Teleport List trigger doesnt work

Status
Not open for further replies.
Level 5
Joined
Jan 19, 2020
Messages
102
Someone find it? and know how to fix?


1)

Events
Unit - A unit enters Region 030 <gen>

Conditions
(Unit is A Hero) Equal to Wahr

Actions
Dialog - Clear teleporter
Dialog - Change the title of teleporter to Teleporter
Dialog - Create a dialog button for teleporter labelled Gnoll (lvl 1)
Set VariableSet Dialogbutton[1] = (Last created dialog Button)
Dialog - Create a dialog button for teleporter labelled Wildkin and Kudos (...
Set VariableSet Dialogbutton[2] = (Last created dialog Button)
Dialog - Show teleporter for (Owner of (Triggering unit))

2)

Events
Unit - A unit enters Region 030 <gen>

Conditions
(Clicked dialog button) Equal to Dialogbutton[1]


Actions
Unit - Move (Entering unit) instantly to (Center of Region 029 <gen>)
 
Level 5
Joined
Jan 19, 2020
Messages
102
so at 1)

Actions
Dialog - Clear teleporter
Dialog - Change the title of teleporter to Teleporter
Dialog - Create a dialog button for teleporter labelled Gnoll (lvl 1)
Set VariableSet Dialogbutton[1] = (Last created dialog Button)
Dialog - Create a dialog button for teleporter labelled Wildkin and Kudos (...
Set VariableSet Dialogbutton[2] = (Last created dialog Button)
Dialog - Show teleporter for (Owner of (Triggering unit))
set Variable
2)
Action
teleport
Variable

right? i think i tryed it before doesnt worked
 
Level 5
Joined
Jan 19, 2020
Messages
102
yes i mean if 2 people go to the teleporter at the same time it doesnt work

Events
Unit - A unit enters Region 030 <gen>

because of that

then if it triggers and get the variable, and another player come, the Variable will get for the player then come new there, right?

Events
Unit - A unit enters Region 030 <gen>
Conditions
(Unit is A Hero) Equal to Wahr
Actions
Dialog - Clear teleporter
Dialog - Change the title of teleporter to Teleporter
Dialog - Create a dialog button for teleporter labelled Gnoll (lvl 1)
Set VariableSet Dialogbutton[1] = (Last created dialog Button)
Dialog - Create a dialog button for teleporter labelled Wildkin and Kudos (...
Set VariableSet Dialogbutton[2] = (Last created dialog Button)
Dialog - Show teleporter for (Owner of (Triggering unit))
Set VariableSet Unitteleport = (Triggering unit)


Events
Unit - A unit enters Region 030 <gen>
Conditions
(Clicked dialog button) Equal to Dialogbutton[1]
Actions
Unit - Move Unitteleport instantly to (Center of Region 029 <gen>)
 
Level 5
Joined
Jan 19, 2020
Messages
102
Now i fixed all, but it is still not working.

Events
Unit - Gnome Teleporter (Ausrichtung Südost) 0642 <gen> Is selected
Conditions
(Unit is A Hero) Equal to Wahr
Actions
Dialog - Clear teleporter
Dialog - Change the title of teleporter to Teleporter
Dialog - Create a dialog button for teleporter labelled Gnoll (lvl 1)
Set VariableSet Dialogbutton[1] = (Last created dialog Button)
Dialog - Create a dialog button for teleporter labelled Wildkin and Kudos (...
Set VariableSet Dialogbutton[2] = (Last created dialog Button)
Dialog - Show teleporter for (Owner of (Triggering unit))
Set VariableSet Unitteleport = (Triggering unit)


Events
Dialog - A dialog button is clicked for teleporter
Conditions
(Clicked dialog button) Equal to Dialogbutton[1]
Actions
Unit - Move Unitteleport instantly to (Center of Region 029 <gen>)
 
Level 5
Joined
Jan 19, 2020
Messages
102
Trigger List doesnt work, someone see why?

1)
Events
Unit - Gnome Teleporter (Ausrichtung Südost) 0642 <gen> Is selected
Conditions
(Unit is A Hero) Equal to Wahr
Actions
Dialog - Clear teleporter
Dialog - Change the title of teleporter to Teleporter
Dialog - Create a dialog button for teleporter labelled Gnoll (lvl 1)
Set VariableSet Dialogbutton[1] = (Last created dialog Button)
Dialog - Create a dialog button for teleporter labelled Wildkin and Kudos (...
Set VariableSet Dialogbutton[2] = (Last created dialog Button)
Dialog - Show teleporter for (Owner of (Triggering unit))
Set VariableSet Unitteleport = (Triggering unit)

2)
Events
Dialog - A dialog button is clicked for teleporter
Conditions
(Clicked dialog button) Equal to Dialogbutton[1]
Actions
Unit - Move Unitteleport instantly to (Center of Region 029 <gen>)
 
Silly me, of course changing to triggering unit isn't gonna work when the detection of a dialog button click happens in a separate trigger. Time to put down the bottle. Anyway, MUI is the way to go. Read the dynamic indexing thread I linked.

Also put your triggers in [ trigger ] tags for better readability. Reading your posts hurts my eyes.
 
Did you just open a new thread about the same stuff when you already have an open thread? Are you drunk? Three things;

1 - learn how to use [ trigger ] tags.
2 - learn how to edit your posts instead of double posting.
3 - wait for someone to reply with a relevant answer instead of opening a thread identical to your previous one.

As I said in the other thread, learn dynamic indexing.
 
Status
Not open for further replies.
Top