Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_Tutorial_CombatEngineering_ExitBuilding_2.c
Go to the documentation of this file.
1[EntityEditorProps(insertable: false)]
5
6class SCR_Tutorial_CombatEngineering_ExitBuilding_2 : SCR_BaseTutorialStage
7{
9
10 //------------------------------------------------------------------------------------------------
11 override protected void Setup()
12 {
13 m_SpawnedEntity = GetGame().GetWorld().FindEntityByName("BUILDING_GUNNEST");
14 }
15
16 //------------------------------------------------------------------------------------------------
17 override protected bool GetIsFinished()
18 {
19 if (!m_SpawnedEntity)
20 {
21 m_TutorialComponent.SetStage("SPAWN_ENTITY_2");
22 return false;
23 }
24
25 return !IsBuildingModeOpen();
26 }
27}
ArmaReforgerScripted GetGame()
Definition game.c:1398
enum SCR_ECompassType EntityEditorProps(category:"GameScripted/Gadgets", description:"Compass", color:"0 0 255 255")
Prefab data class for compass component.
SCR_TutorialGamemodeComponent m_TutorialComponent