Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_AIBehavior.c File Reference

Go to the source code of this file.

Classes

class  SCR_AIWaitBehavior
class  SCR_AIIdleBehavior

Enumerations

enum  SCR_EAIBehaviorCause {
  SAFE = 10 , SELF_AID = 20 , GROUP_GOAL = 30 , DANGER_LOW = 40 ,
  COMBAT = 50 , DANGER_MEDIUM = 60 , DANGER_HIGH = 70 , ALWAYS = 1000
}

Functions

void SCR_AIBehaviorBase (SCR_AIUtilityComponent utility, SCR_AIActivityBase groupActivity)
SCR_AIActivityBase GetGroupActivityContext ()
override void OnActionSelected ()
override void OnActionFailed ()
override void OnActionCompleted ()

Variables

enum SCR_EAIBehaviorCause m_Utility
float m_fThreat = 0.0
bool m_bAllowLook = true
bool m_bResetLook = false
bool m_bUseCombatMove = false

Enumeration Type Documentation

◆ SCR_EAIBehaviorCause

Enumerator
SAFE 
SELF_AID 
GROUP_GOAL 
DANGER_LOW 
COMBAT 
DANGER_MEDIUM 
DANGER_HIGH 
ALWAYS 

Definition at line 1 of file SCR_AIBehavior.c.

Function Documentation

◆ GetGroupActivityContext()

SCR_AIActivityBase GetGroupActivityContext ( )

Definition at line 32 of file SCR_AIBehavior.c.

◆ OnActionCompleted()

override void OnActionCompleted ( )

Definition at line 74 of file SCR_AIBehavior.c.

◆ OnActionFailed()

override void OnActionFailed ( )

Definition at line 65 of file SCR_AIBehavior.c.

◆ OnActionSelected()

override void OnActionSelected ( )

Definition at line 38 of file SCR_AIBehavior.c.

◆ SCR_AIBehaviorBase()

void SCR_AIBehaviorBase ( SCR_AIUtilityComponent utility,
SCR_AIActivityBase groupActivity )

Definition at line 23 of file SCR_AIBehavior.c.

Variable Documentation

◆ m_bAllowLook

bool m_bAllowLook = true

Definition at line 18 of file SCR_AIBehavior.c.

◆ m_bResetLook

bool m_bResetLook = false

Definition at line 19 of file SCR_AIBehavior.c.

◆ m_bUseCombatMove

bool m_bUseCombatMove = false

Definition at line 20 of file SCR_AIBehavior.c.

◆ m_fThreat

float m_fThreat = 0.0

Definition at line 17 of file SCR_AIBehavior.c.

◆ m_Utility

enum SCR_EAIBehaviorCause m_Utility