Jump to content
Sign in to follow this  
AfrographX

Getpos of unit which activated trigger. How?

Recommended Posts

Hi,

I want that when a west unit is detected by an east spotter a larger east unit moves to the position of the west unit.

How do I get the position of the west unit which was detected by the spotter?

*I need that for a multiplayer mission with more than one west squad*

Share this post


Link to post
Share on other sites

I'd assume list triggername; would return units that meet the trigger parameters, including 'detected' parameter. You could then get the first detected unit's pos with _pos = getpos (list triggername select 0);

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  

×