runInitScript: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(49 intermediate revisions by 10 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|R]]
{{RV|type=command
[[Category:Scripting Commands OFP Elite |R]]
[[Category:Scripting Commands ArmA|R]]


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


|game2= arma1
|version2= 1.00


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


|game4= arma2oa
|version4= 1.50


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


'''Type of returned value:'''
|game6= arma3
|version6= 0.50


'''Compatibility:'''
|eff= local


'''Description:'''
|gr1= System


|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.


'''Example:'''
|s1= [[runInitScript]]
 
|r1= [[Nothing]]
 
|x1= <sqf>runInitScript;</sqf>
 
|seealso= [[Event Scripts]]
}}

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