clearVehicleInit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|game3= arma2oa |version3= 1.51 " to "|game3= arma2oa |version3= 1.50 ")
m (Text replacement - "<sqf>([^↵][^\/]*↵[^\/]*)<\/sqf>" to "<sqf> $1 </sqf>")
 
(5 intermediate revisions by the same user not shown)
Line 25: Line 25:
|r1= [[Nothing]]
|r1= [[Nothing]]


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


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

Latest revision as of 11:35, 3 September 2024

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