processInitCommands: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
Line 28: Line 28:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>processInitCommands;</code>
|x1= <sqf>processInitCommands;</sqf>


|seealso= [[setVehicleInit]] [[clearVehicleInit]]
|seealso= [[setVehicleInit]] [[clearVehicleInit]]
}}
}}

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