Jump to content
Sign in to follow this  
Jackael

Cargo help

Recommended Posts

I want to make it so that when an APC reaches the "drop off point" the player and his squad exit the cargo of it. This I know how to do. However, how can I make it so that the APC cargo is "locked" after all of the units have left it so they can't get back into it?

Also, my waypoint isn't setting correctly.

I have it so once the unit reaches a trigger:

? player in thislist
: waypoint1 = group player addwaypoint [getmarkerpos checkpnt1, 1];

Doesn't do anything though. I did try adding a command to make the waypoint type "Move" and still nothing. Is addWaypoint the right command?

Share this post


Link to post
Share on other sites

Try this:

? player in thislist
waypoint1 = group player addwaypoint [getmarkerpos "checkpnt1", 1];
waypoint1 setwaypointtype "MOVE";

You missed the "" from checkpoint1

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  

×