clearVehicleInit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*) ([^ ]*) ([^ ]*)<\/code>" to "<code>$1$2$3 $4 $5</code>")
m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>")
Line 26: Line 26:


|x1= <code>_tank1 setVehicleInit "hint 'hi all'";
|x1= <code>_tank1 setVehicleInit "hint 'hi all'";
[[processInitCommands]];
processInitCommands;
clearVehicleInit _tank1;</code>
clearVehicleInit _tank1;</code>


|seealso= [[setVehicleInit]] [[processInitCommands]]
|seealso= [[setVehicleInit]] [[processInitCommands]]
}}
}}

Revision as of 13:00, 12 May 2022

Hover & click on the images for description

Description

Description:
Clears the object's init.
Arma 3
For security reasons, the command was disabled in Arma 3.
Groups:
Object Manipulation

Syntax

Syntax:
clearVehicleInit objectName
Parameters:
objectName: Object
Return Value:
Nothing

Examples

Example 1:
_tank1 setVehicleInit "hint 'hi all'"; processInitCommands; clearVehicleInit _tank1;

Additional Information

See also:
setVehicleInit processInitCommands

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note