Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_AICompleteLookAction.c
Go to the documentation of this file.
2{
3 SCR_AIUtilityComponent m_Utility;
4
5 //------------------------------------------------------------------------------------------------
6 override ENodeResult EOnTaskSimulate(AIAgent owner, float dt)
7 {
8 if (!m_Utility)
9 {
10 m_Utility = SCR_AIUtilityComponent.Cast(owner.FindComponent(SCR_AIUtilityComponent));
11 if (!m_Utility)
12 return ENodeResult.FAIL;
13 }
14
15 m_Utility.m_LookAction.Complete();
16 return ENodeResult.SUCCESS;
17 }
18
19 //------------------------------------------------------------------------------------------------
20 protected static override bool VisibleInPalette() {return true;}
21};
static override bool VisibleInPalette()
ENodeResult
Definition ENodeResult.c:13