processInitCommands: Difference between revisions

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


| arma |Game name=
|game1= ofpe
|version1= 1.00


|1.00|Game version=
|game2= arma1
|eff= global |Effects in MP=
|version2= 1.00
____________________________________________________________________________________________


| Process statements stored using [[setVehicleInit]]. The statements will only be executed once even if [[processInitCommands]] is called multiple times.<br><br>
|game3= arma2
|version3= 1.00


{{Feature arma3|For security reasons, the command was disabled in Arma 3.<br>
|game4= arma2oa
For remote execution, see [[Arma 3 Remote Execution]], [[remoteExec]] and [[remoteExecCall]].}} |DESCRIPTION=
|version4= 1.50
____________________________________________________________________________________________


| [[processInitCommands]] |SYNTAX=
|game5= tkoh
|version5= 1.00


| [[Nothing]] |RETURNVALUE=
|eff= global
____________________________________________________________________________________________


|x1= <code>[[processInitCommands]];</code> |EXAMPLE1=
|gr1= System


| [[setVehicleInit]], [[clearVehicleInit]] |SEEALSO=
|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]]


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


<!-- Note Section END -->
|x1= <sqf>processInitCommands;</sqf>
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[setVehicleInit]] [[clearVehicleInit]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
}}
[[Category:Scripting Commands OFP Elite |{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

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