clearVehicleInit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?]]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


|arma1|Game name=
|arma1|Game name=
Line 7: Line 6:


|gr1= Object Manipulation |GROUP1=
|gr1= Object Manipulation |GROUP1=
____________________________________________________________________________________________


| Clears the object's init.<br><br>
| Clears the object's init.<br><br>
Line 13: Line 11:
{{Feature|arma3|For security reasons, the command was disabled in Arma 3.}}
{{Feature|arma3|For security reasons, the command was disabled in Arma 3.}}
|DESCRIPTION=
|DESCRIPTION=
____________________________________________________________________________________________


| '''clearVehicleInit''' objectName|SYNTAX=
| '''clearVehicleInit''' objectName|SYNTAX=
Line 20: Line 17:


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


| [[setVehicleInit]], [[processInitCommands]] |SEEALSO=
| [[setVehicleInit]], [[processInitCommands]] |SEEALSO=

Revision as of 00:28, 17 January 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

Notes

Bottom Section