Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_Tutorial_CombatEngineering_Move_1.c
Go to the documentation of this file.
1[EntityEditorProps(insertable: false)]
5
6//------------------------------------------------------------------------------------------------
8{
9
10 //------------------------------------------------------------------------------------------------
11 override protected void Setup()
12 {
13 RegisterWaypoint("WP_CE_PATH1");
14
15 SCR_Waypoint wp = RegisterWaypoint("WP_CE_PATH6");
16 if (wp)
18
19 CreateMarkerPath("CE_PATH_DOTS");
20 CreateMarkerCustom("WP_CE_PATH6", SCR_EScenarioFrameworkMarkerCustom.OBJECTIVE_MARKER, SCR_EScenarioFrameworkMarkerCustomColor.REFORGER_ORANGE);
21 }
22
23 //------------------------------------------------------------------------------------------------
24 override protected void OnStageFinished()
25 {
27 return;
28
29 IEntity wpPos = m_ReachedWaypoint.GetAttachedEntity();
30 if (wpPos.GetName() == "WP_CE_PATH6")
31 m_TutorialComponent.SetStage("StopAndGetOut");
32 else
33 m_TutorialComponent.FinishStage();
34 }
35};
enum SCR_ECompassType EntityEditorProps(category:"GameScripted/Gadgets", description:"Compass", color:"0 0 255 255")
Prefab data class for compass component.
void IEntity(IEntitySource src, IEntity parent)
protected script Constructor
proto external string GetName()
void CreateMarkerPath(string pathEntityName)
SCR_MapMarkerBase CreateMarkerCustom(string entityName, SCR_EScenarioFrameworkMarkerCustom icon, SCR_EScenarioFrameworkMarkerCustomColor color, string name=string.Empty)
SCR_TutorialGamemodeComponent m_TutorialComponent
SCR_Waypoint RegisterWaypoint(string entityName, string title=string.Empty, string icon="MISC")
int m_iMaximumDrawDistance