Welcome to the Iron Front Fan Forums!
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
Gunter Severloh

Avatar / Picture

Admin
Registered:
Posts: 2,758
Reply with quote  #1 
By Fox 11 Guy
Quote:
How do I get a 5 man group to teleport when one member activates the trigger?
I don't mean the flag pole style where the player has control. Even if the players are scattered on the map. They all get teleported to one marker.
I tried selectPlayer and it worked but I think it's a SP thing.


by Tay
Quote:
I think you could use something like this. Name each memeber of the 5 man group S1, S2, S3, S4, S5 then use this on the activation of maybe a trigger or script. Place a marker where you want them to be teleported too called T1

S1 setPos (getMarkerPos "T1");s2 setPos (getMarkerPos "T1");s3 setPos (getMarkerPos "T1");s4 setPos (getMarkerPos "T1");s5 setPos (getMarkerPos "T1");


This should move all the named units to the marker position no matter where they are on the map at the time the code is called.

I took the code off an old arma post, so hope its right


By Fox 11 Guy
Quote:
Thank you for your time. I'm sure most of you know this but it works. Exactly what I was looking for.


by Laguerre
S1 setPos (getMarkerPos "T1");s2 setPos (getMarkerPos "T1");s3 setPos (getMarkerPos "T1");s4 setPos (getMarkerPos "T1");s5 setPos (getMarkerPos "T1");


Would this work, it would def save some keystrokes
{_x setPos (getMarkerPos "<markername>")} forEach units group this;

__________________
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.