moveInCargo

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Operation Flashpoint version 1.00Arguments of this scripting command have to be local to the client the command is executed onEffects of this scripting command are broadcasted over the network and happen on every computer in the network

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.00

Description

Description:
Move soldier into vehicle cargo position (Immediate, no animation).

Syntax

Syntax:
Person moveInCargo Vehicle
Return Value:
Nothing

Examples

Example 1:
_soldierOne moveInCargo _jeepOne

Additional Information

Multiplayer:
Behaviour unknown.
See also:
moveInCommander, moveInDriver, moveInGunner, moveInTurret, assignAsCargo, assignAsCommander, assignAsDriver, assignAsGunner

Notes

Notes

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Posted on August 4, 2006 - 14:42
hardrock
Notes from before the conversion

If you place a soldier in a vehicle with the moveInCargo command, he wont "know" he's in the vehicle, and thus he won't disembark properly when the vehicle reaches a Transport Unload waypoint. Therefore you have to use the assignAsCargo command, in order for the AI to catch on. Something like this: moveInCargo helo1 this assignAsCargo helo1 MP Note Functions MoveInCargo can only be called for local soldiers. They will be ignored for remote soldiers. (see Locality in Multiplayer)

Ceeeb
In OFP v1.96, the moveIn commands will not trigger an associated getIn event. To ensure the getIn event is fired, use the "getIn Cargo" action command.

Bottom Section

Personal tools
Buy ArmA now!