lock

From Bohemia Interactive Community
Revision as of 22:50, 9 January 2010 by Tankbuster (talk | contribs)
Jump to navigation Jump to search
Introduced with Operation Flashpoint version 1.001.00
Arguments 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
Hover & click on the images for descriptions

Description

Description:
Lock vehicle (disable mounting / dismounting) for player.

Syntax

Syntax:
vehicleName lock lock
Parameters:
vehicleName: Object
lock: Boolean
Return Value:
Nothing

Examples

Example 1:
_jeepOne lock true

Additional Information

See also:
locked

Notes

i
Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.

Notes

--Tankbuster 22:50, 9 January 2010 (CET) Lock prevents AI persons mounting or dismounting vehicles when ordered to do so and players are prevented from doing both too, but AI will dismount when a vehicle is damaged.

Bottom Section