Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ScenarioFrameworkVehicleActionBase.c
Go to the documentation of this file.
3{
4 [Attribute(desc: "If set to true, when this action gets activated, it will break the breakpoint in the Script Editor in CanActivate method from which you can step out to the OnActivate method and debug this specific action. This can be also set during runtime via Debug Menu > ScenarioFramework > Action Inspector")]
5 bool m_bDebug;
6
7 //------------------------------------------------------------------------------------------------
10 void Init(Vehicle vehicle)
11 {
12 // Here you can step out to the OnActivate method and debug this specific action if m_bDebug attribute is set to true.
13 // This can be also adjusted during runtime via Debug Menu > ScenarioFramework > Action Inspector
14 if (m_bDebug)
15 Print("[SCR_ScenarioFrameworkVehicleActionBase.Init] debug line (" + __FILE__ + " L" + __LINE__ + ")", LogLevel.WARNING);
16
17 OnActivate();
18 }
19
20 //------------------------------------------------------------------------------------------------
21 void OnActivate()
22 {
23 // Here you can step out to the OnActivate method and debug this specific action if m_bDebug attribute is set to true.
24 // This can be also adjusted during runtime via Debug Menu > ScenarioFramework > Action Inspector
25 if (m_bDebug)
26 Print("[SCR_ScenarioFrameworkVehicleActionBase.OnActivate] debug line (" + __FILE__ + " L" + __LINE__ + ")", LogLevel.WARNING);
27 }
28}
override void Init()
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
override void OnActivate()
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
enum EPhysicsLayerPresets Vehicle
Definition gameLib.c:24
proto void Print(void var, LogLevel level=LogLevel.NORMAL)
Prints content of variable to console/log.
LogLevel
Enum with severity of the logging message.
Definition LogLevel.c:14
SCR_FieldOfViewSettings Attribute