Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_Tutorial_Obstace_CRAWL.c
Go to the documentation of this file.
1[EntityEditorProps(insertable: false)]
5
6//------------------------------------------------------------------------------------------------
8{
9 //------------------------------------------------------------------------------------------------
10 override protected void Setup()
11 {
12 RegisterWaypoint("WP_WIREMESH").SetOffsetVector("0 0.2 0");
13 PlayNarrativeCharacterStage("OBSTACLECOURSE_Instructor", 6);
14 }
15
16 //------------------------------------------------------------------------------------------------
17 override protected bool GetIsFinished()
18 {
19 CharacterControllerComponent comp = CharacterControllerComponent.Cast(m_Player.FindComponent(CharacterControllerComponent));
20
21 if (comp)
22 return comp.GetStance() == ECharacterStance.PRONE;
23 else
24 return true;
25 }
26};
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)
void SetOffsetVector(vector offset)
ECharacterStance