Jump to content
Sign in to follow this  
Nightjay0044

Teleporting

Recommended Posts

***Originally posted by Chronicles in the FAQ***

How to teleport a group to a certain point of the map

1- Create a group , for example a West group (infantry for this example)

2- Edit the properties of the group officer and put this

Code Sample

BOB=group this

It will name the whole squad BOB

3-Create a unit at the point you want your group to be teleported

Select the Side : GAME LOGIC (instead of west, east, resistance....)

Name this game logic HERE

4-Now create a trigger , edit it : at ACTIVATION (it will depends of your mission) for the example i put EAST

now at the line On Activation , put this

Code Sample

"_x setpos (getpos HERE)" forEach units BOB

When a EAST unit will enter the Trigger array , this will teleport the group named BOB to the location of the GAME LOGIC named HERE

NOTE

You can have waypoints for the squad named BOB , synchronize one of it with the Trigger to force the squad to wait its teleportation at this waypoint before going to the next waypoint.

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  

×