assignAsCargoIndex

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Take On Helicopters version 1.01
  

Click on the images for descriptions

Introduced in

Game:
Take On Helicopters
Version:
1.01

Description

Description:
Assigns the character to a specific cargo / passenger index of the given vehicle.

Syntax

Syntax:
character assignAsCargoIndex [vehicle, index]
Parameters:
character: Object - character to assign
vehicle: Object - vehicle to assign to
index: Number - cargo / passenger index
Return Value:
Boolean

Examples

Example 1:
player assignAsCargoIndex [myHelicopter, 1];

Additional Information

Multiplayer:
-
See also:
assignAsCargoassignAsDriverassignAsCommanderassignAsGunnergetCargoIndex

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section