Jump to content
Sign in to follow this  
baptistus

Unit activate a trigger and be teleported.

Recommended Posts

I try to create a trigger which teleport to a marker every unit who pass on it.

It is ok for the teleportation: "setPosATL [getMarkerPos "Echo" select 0,getMarkerPos "Echo" select 1,getMarkerPos "Echo" select 2]".

But I have a problem with the condition and the name of the unit.

If I put a name of the unit (example:gogo01), in condition I write "gogo01 in thislist" and in activation "gogo01 setPosATL [getMarkerPos "Echo" select 0,getMarkerPos "Echo" select 1,getMarkerPos "Echo" select 2]".

Ok, that works.

But now I want that whatever which one of the units pass on the trigger, this specific unit will be teleport. I try "this", "unit" on condition and activation instead of the name of the unit but it doesn't work.

Please help ^^

Share this post


Link to post
Share on other sites

See if this works.Create a repeating trigger, blufor present (or w/e side).

onact:

{_x setPosATL getPosATL someObject} forEach thisList

Share this post


Link to post
Share on other sites

Sorry, I am a noob, so I don't understand everything.

Could write the complete "onact" to teleport the unit to a marker called "echo" ? Because I am not sure what to write instead of "someobject" ect... So If I have the full "onact" I will be able to understand how it works, and to edit the trigger for my own use.

And what about the condition ? I must write nothing ?

Thank you.

Share this post


Link to post
Share on other sites

{_x setPosATL getMarkerPos "echo"} forEach thisList

---------- Post added at 07:13 ---------- Previous post was at 07:11 ----------

for the condition just leave this

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×