Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_AICharacterSettingWithCause Interface Reference

Base class for all character settings which support action cause. More...

Inheritance diagram for SCR_AICharacterSettingWithCause:
SCR_AICharacterSetting SCR_AISettingBase SCR_AICharacterLightInteractionSettingBase SCR_AICharacterMovementSpeedSettingBase SCR_AICharacterStanceSettingBase SCR_AICharacterLightInteractionSetting SCR_AICharacterMovementSpeedSetting SCR_AICharacterMovementSpeedSetting_Range SCR_AICharacterStanceSetting SCR_AICharacterStanceSetting_Range

Public Member Functions

override int GetMaxActionCause ()
 When making own setting classes, DO NOT declare own constructor to pass data.
 
- Public Member Functions inherited from SCR_AISettingBase
int GetPriority ()
 
SCR_EAISettingOrigin GetOrigin ()
 
SCR_AISettingBase GetParentSetting ()
 
SCR_EAISettingFlags GetFlags ()
 
bool HasFlag (SCR_EAISettingFlags f)
 
SCR_AISettingBase CreateCopy ()
 This method must make a deep copy of data describing this setting.
 
void Internal_InitCopyFrom (SCR_AISettingBase from)
 Called right after this setting object was created as copy from elsewhere.
 
void Internal_ConstructedAtProperty (SCR_EAISettingOrigin origin, SCR_EAISettingFlags flagsToSet)
 Must be called if the setting is part of some property.
 
void Internal_SetFlag (SCR_EAISettingFlags flagsToSet)
 
TypeName GetCategorizationType ()
 Returns type which is used for identification of setting type.
 
void OnAdded (SCR_AISettingsBaseComponent settingsComp)
 Called after the setting was added to SCR_AISettingsBaseComponent.
 
void OnRemoved (SCR_AISettingsBaseComponent settingsComp)
 Called after the setting was removed from SCR_AISettingsBaseComponent.
 
void ApplyEffects (SCR_AISettingsBaseComponent settingsComp)
 This is meant for settings which apply some permanent effect to AI (like setting skill), instead of some other system to look up current settings through GetCurrentSetting call.
 
string GetDebugText ()
 

Protected Member Functions

void Init (SCR_EAISettingOrigin origin, SCR_EAIBehaviorCause cause)
 
- Protected Member Functions inherited from SCR_AISettingBase
void Init (SCR_EAISettingOrigin origin)
 Must be called from the factory method, if setting is created dynamically.
 

Protected Attributes

SCR_EAIBehaviorCause m_eCause
 
- Protected Attributes inherited from SCR_AISettingBase
SCR_AISettingBase m_ParentSetting
 
SCR_EAISettingOrigin m_eOrigin
 
SCR_EAISettingFlags m_eFlags
 
int m_iPriority
 

Additional Inherited Members

- Static Public Attributes inherited from SCR_AISettingBase
const int ACTION_CAUSE_NOT_SUPPORTED = int.MAX
 
- Static Protected Attributes inherited from SCR_AISettingBase
static ref SCR_AISettingOriginPriorityTable s_OriginPriorityTable = new SCR_AISettingOriginPriorityTable()
 

Detailed Description

Base class for all character settings which support action cause.

Member Function Documentation

◆ GetMaxActionCause()

override int SCR_AICharacterSettingWithCause.GetMaxActionCause ( )

When making own setting classes, DO NOT declare own constructor to pass data.

Instead, make a static factory Create() method. See any derived class for example. The Setting class must be compatible both with manual construction and construction as property. Declaring custom constructor will cause the constructor to be called with incorrect data when Setting object is created inside property.

Implements SCR_AICharacterSetting.

◆ Init()

void SCR_AICharacterSettingWithCause.Init ( SCR_EAISettingOrigin origin,
SCR_EAIBehaviorCause cause )
protected

Member Data Documentation

◆ m_eCause

SCR_EAIBehaviorCause SCR_AICharacterSettingWithCause.m_eCause
protected

The documentation for this interface was generated from the following file: