runInitScript: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
mNo edit summary
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|game1= arma1
|game1= ofpe
|version1= 1.00
|version1= 1.00
|game2= arma1
|version2= 1.00
|game3= arma2
|version3= 1.00
|game4= arma2oa
|version4= 1.50
|game5= tkoh
|version5= 1.00
|game6= arma3
|version6= 0.50


|eff= local
|eff= local
Line 8: Line 23:
|gr1= System
|gr1= System


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


|s1= '''runInitScript'''
|s1= [[runInitScript]]


|x1= <code>[[runInitScript]];</code>
|r1= [[Nothing]]


|r1= [[Nothing]]
|x1= <sqf>runInitScript;</sqf>


|seealso= [[Event Scripts]]
|seealso= [[Event Scripts]]
}}
}}
{{GameCategory|ofpe|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

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