processInitCommands: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(46 intermediate revisions by 15 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|C]]
{{RV|type=command
[[Category:Scripting Commands ArmA|C]]


<new command not populated>
|game1= ofpe
|version1= 1.00


|game2= arma1
|version2= 1.00


<h2 style="color:#000066">''''' processInitCommands '''''</h2>
|game3= arma2
|version3= 1.00


|game4= arma2oa
|version4= 1.50


'''Operand types:'''
|game5= tkoh
|version5= 1.00


'''Type of returned value:'''
|eff= global


'''Compatibility:'''
|gr1= System


'''Description:'''
|descr= Process statements stored using [[setVehicleInit]]. The statements will only be executed once even if [[processInitCommands]] is called multiple times.
{{Feature|arma3|For security reasons, the command was disabled in Arma 3.<br>
For remote execution, see [[Arma 3: Remote Execution]], [[remoteExec]] and [[remoteExecCall]].}}


|s1= [[processInitCommands]]


'''Example:'''
|r1= [[Nothing]]
 
|x1= <sqf>processInitCommands;</sqf>
 
|seealso= [[setVehicleInit]] [[clearVehicleInit]]
}}

Latest revision as of 10:23, 13 May 2022

Hover & click on the images for description

Description

Description:
Process statements stored using setVehicleInit. The statements will only be executed once even if processInitCommands is called multiple times.
Arma 3
For security reasons, the command was disabled in Arma 3.
For remote execution, see Arma 3: Remote Execution, remoteExec and remoteExecCall.
Groups:
System

Syntax

Syntax:
processInitCommands
Return Value:
Nothing

Examples

Example 1:
processInitCommands;

Additional Information

See also:
setVehicleInit clearVehicleInit

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