Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_Tutorial_CombatEngineering_SpawnEntity_2.c
Go to the documentation of this file.
1[EntityEditorProps(insertable: false)]
5
6class SCR_Tutorial_CombatEngineering_SpawnEntity_2 : SCR_BaseTutorialStage
7{
8 protected string m_sSpawnedEntityName = "BUILDING_GUNNEST";
10
11 //------------------------------------------------------------------------------------------------
12 override protected void Setup()
13 {
14 SCR_HintManagerComponent.HideHint();
15 SCR_HintManagerComponent.ClearLatestHint();
16
17 m_SuggestedWP = RegisterWaypoint("WP_SUGGESTED_GUNPOST_SPAWN");
18
19 PlayNarrativeCharacterStage("COMBATENGINEERING_Instructor_E", 2);
20 }
21
22 //------------------------------------------------------------------------------------------------
23 override protected bool GetIsFinished()
24 {
25 return GetGame().GetWorld().FindEntityByName(m_sSpawnedEntityName);
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_Waypoint RegisterWaypoint(string entityName, string title=string.Empty, string icon="MISC")
void PlayNarrativeCharacterStage(string characterName, int stage)