clearVehicleInit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "")
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|arma1
|game1= arma1
|version1= 1.08


|1.08
|game2= arma2
|version2= 1.00
 
|game3= arma2oa
|version3= 1.51
 
|game4= tkoh
|version4= 1.00


|gr1= Object Manipulation
|gr1= Object Manipulation


| Clears the object's init.<br><br>
|descr= Clears the object's init.


{{Feature|arma3|For security reasons, the command was disabled in Arma 3.}}
{{Feature|arma3|For security reasons, the command was disabled in {{arma3}}.}}


| '''clearVehicleInit''' objectName
|s1= [[clearVehicleInit]] objectName


|p1= objectName: [[Object]]
|p1= objectName: [[Object]]


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


|seealso= [[setVehicleInit]], [[processInitCommands]]
|seealso= [[setVehicleInit]], [[processInitCommands]]
}}
}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Revision as of 19:18, 15 March 2021

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:
setVehicleInitprocessInitCommands

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