runInitScript: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
mNo edit summary
 
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|RUNINITSCRIPT]]
{{RV|type=command
[[Category:Scripting Commands OFP Elite |RUNINITSCRIPT]]
[[Category:Scripting Commands ArmA|RUNINITSCRIPT]]


{{Command|= Comments
|game1= ofpe
____________________________________________________________________________________________
|version1= 1.00


| arma |= Game name
|game2= arma1
|version2= 1.00


|1.00|= Game version
|game3= arma2
|version3= 1.00


|eff= local |= Effects in MP
|game4= arma2oa
____________________________________________________________________________________________
|version4= 1.50


| Fades in mission screen and re-executes <tt>init.sqf</tt> and <tt>init.sqs</tt> scripts. In [[Eden Editor]] the code inside the "Init" mission attribute is executed. |DESCRIPTION=
|game5= tkoh
____________________________________________________________________________________________
|version5= 1.00


| '''runInitScript''' |SYNTAX=
|game6= arma3
|version6= 0.50


|eff= local


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


| [[Nothing]] |RETURNVALUE=
|descr= Fades in mission screen and re-executes [[Event Scripts#init.sqf|init.sqf]] and [[Event Scripts#init.sqs|init.sqs]] scripts. In [[:Category:Eden Editor|Eden Editor]] the code inside the "Init" mission attribute is executed.
____________________________________________________________________________________________


| [[Event Scripts]] |SEEALSO=
|s1= [[runInitScript]]


}}
|r1= [[Nothing]]


<h3 style="display:none">Notes</h3>
|x1= <sqf>runInitScript;</sqf>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|seealso= [[Event Scripts]]
</dl>
}}
 
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Latest revision as of 10:35, 28 September 2023

Hover & click on the images for description

Description

Description:
Fades in mission screen and re-executes init.sqf and init.sqs scripts. In Eden Editor the code inside the "Init" mission attribute is executed.
Groups:
System

Syntax

Syntax:
runInitScript
Return Value:
Nothing

Examples

Example 1:
runInitScript;

Additional Information

See also:
Event Scripts

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