I'm having a peculiar issue with a script. I'm generating a waypoint for a chopper, as in the block of code below (excuse the terrible organisation of it, I'm just fiddling around/testing... will tidy it all up later):
_landWP = (group HMM_SUPPORT_TRANSPORT_GO) addWaypoint [[HMM_SUPPORT_TRANSPORT_X,HMM_SUPPORT_TRANSPORT_Y],100];
_landWP setWaypointType "MOVE";
_landWP setWaypointSpeed "FULL";
_landWP setWaypointBehaviour "AWARE";
_landWP setWaypointCombatMode "GREEN";
_landWP setWaypointStatements ["true", "HMM_SUPPORT_TRANSPORT_GO land ""GETIN""; _markerName setMarkerType ""Empty"";"];
Now, the issue here is that while the waypoint statements do execute, they only execute up to the land command. E.g. if I have the following, I get "Hello" but no action on the land command:
_landWP setWaypointStatements ["true", "hint ""Hello""; HMM_SUPPORT_TRANSPORT_GO land ""GETIN""; _markerName setMarkerType ""Empty"";"];
If, however, I use some other method of invoking the land command, it works... so, using StraDebug2, I can enter this and the chopper lands on the nearby Invisible H:
HMM_SUPPORT_TRANSPORT_GO land "GETIN";
The command is being executed where the chopper is local, so that's not the issue. The statements are being executed in some way, so that's not the issue. I'm a little stumped. Am I just missing something obvious?
Thanks in advance
Anyone with any ideas?