Comrades in Arms Discussion Board
Random start + teleport - Printable Version

+- Comrades in Arms Discussion Board (http://forum.ciahome.net)
+-- Forum: Comrades in Arms Life (http://forum.ciahome.net/forumdisplay.php?fid=3)
+--- Forum: Mission Making (http://forum.ciahome.net/forumdisplay.php?fid=8)
+--- Thread: Random start + teleport (/showthread.php?tid=3517)



Random start + teleport - Stagwine - 11-20-2016

Situation: 

In CO12 Missing in action (one of our regulars), helicopter and its cargo, aka lost squad, are teleported to random location in mission start. 

Issue: 

Sometimes squad members won't be teleported to helicopter, especially if loading time takes a while. It is somewhat rare issue, we've had it only handful of times, but it is yet annoying never the less. 

Current implementation: 

Helicopter is teleported to random marker upon mission start. There is 8 second delay (intro plays during this time to hide actual teleporting), and then squad is tp'd to helicopter cargo with command: 

PHP Code:
{_x assignAsCargo helo1_x moveinCargo helo1;} forEach units stag
// stag = group name. 

Question: 

What would be robust way to tp helicopter AND squad, so no one is left behind?