clearVehicleInit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


|arma|= Game name
|game1= arma1
|version1= 1.08


|1.08|= Game version
|game2= arma2
____________________________________________________________________________________________
|version2= 1.00


| Clears the object's init.<br><br>
|game3= arma2oa
|version3= 1.50


{{Feature arma3|For security reasons, the command was disabled in Arma 3.}}
|game4= tkoh
|= Description
|version4= 1.00
____________________________________________________________________________________________


| '''clearVehicleInit''' objectName|= Syntax
|gr1= Object Manipulation


|p1= objectName: [[Object]]|= Parameter 1
|descr= Clears the object's init.


| [[Nothing]] |= Return value
{{Feature|arma3|For security reasons, the command was disabled in {{arma3}}.}}
____________________________________________________________________________________________
 
|x1= <code>_tank1 setVehicleInit "hint 'hi all'"; processInitCommands; clearVehicleInit tank1</code>|= Example 1
____________________________________________________________________________________________


| [[setVehicleInit]], [[processInitCommands]] |= See also
|s1= [[clearVehicleInit]] objectName


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


<h3 style="display:none">Notes</h3>
|r1= [[Nothing]]
<dl class="command_description">
<!-- Note Section BEGIN -->


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


<!-- Note Section END -->
|seealso= [[setVehicleInit]] [[processInitCommands]]
</dl>
}}
 
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Variables|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Object_Manipulation|{{uc:{{PAGENAME}}}}]]

Latest revision as of 11:21, 13 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