clearVehicleInit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Armed[ _]Assault(\|.*)]]" to "{{GameCategory|arma1|Scripting Commands}}")
m (Text replacement - "|game3= arma2oa |version3= 1.51 " to "|game3= arma2oa |version3= 1.50 ")
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


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


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


|gr1= Object Manipulation |GROUP1=
|game3= arma2oa
____________________________________________________________________________________________
|version3= 1.50


| Clears the object's init.<br><br>
|game4= tkoh
|version4= 1.00


{{Feature|arma3|For security reasons, the command was disabled in Arma 3.}}
|gr1= Object Manipulation
|DESCRIPTION=
____________________________________________________________________________________________


| '''clearVehicleInit''' objectName|SYNTAX=
|descr= Clears the object's init.


|p1=  objectName: [[Object]]|PARAMETER1=
{{Feature|arma3|For security reasons, the command was disabled in {{arma3}}.}}


| [[Nothing]] |RETURNVALUE=
|s1= [[clearVehicleInit]] objectName
____________________________________________________________________________________________
 
|x1= <code>_tank1 setVehicleInit "hint 'hi all'"; processInitCommands; clearVehicleInit tank1</code>|EXAMPLE1=
____________________________________________________________________________________________


| [[setVehicleInit]], [[processInitCommands]] |SEEALSO=
|p1= objectName: [[Object]]


}}
|r1= [[Nothing]]


<h3 style="display:none">Notes</h3>
|x1= <code>_tank1 [[setVehicleInit]] "hint 'hi all'";
<dl class="command_description">
[[processInitCommands]];
<!-- Note Section BEGIN -->
[[clearVehicleInit]] _tank1;</code>


 
|seealso= [[setVehicleInit]], [[processInitCommands]]
<!-- Note Section END -->
}}
</dl>
 
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma1|Scripting Commands}}
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Object_Manipulation|{{uc:{{PAGENAME}}}}]]

Revision as of 18:50, 27 April 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