currentCommand

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Armed Assault version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.00

Description

Description:
Return the current command type (empty string when no command) for the commander of given vehicle (or for a given soldier). Returned value can be one of:
  • "WAIT"
  • "ATTACK"
  • "HIDE"
  • "MOVE"
  • "HEAL"
  • "REPAIR"
  • "REFUEL"
  • "REARM"
  • "SUPPORT"
  • "JOIN"
  • "GET IN"
  • "FIRE"
  • "GET OUT"
  • "STOP"
  • "EXPECT"
  • "ACTION"
  • "ATTACKFIRE"

Syntax

Syntax:
currentCommand vehicleName
Parameters:
vehicleName: Object
Return Value:
String

Examples

Example 1:
_command = currentCommand player;

Additional Information

Multiplayer:
-
See also:
commandFirecommandMovecommandSuppressiveFirejoin

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