assignedTarget

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Armed Assault version 1.00
  Arguments of this scripting command have to be local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.00

Description

Description:
Returns the target assigned to the vehicle/unit. To unassign the target use doWatch objNull or commandWatch objNull.

Syntax

Syntax:
assignedTarget vehicleName
Parameters:
vehicleName: Object
Return Value:
Object

Examples

Example 1:
_target = assignedTarget _T72

Additional Information

Multiplayer:
-
See also:
commandTargetdoTargetcommandWatchdoWatch

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