Arma Reforger Script API
|
Limits stance within min-max range. More...
Public Member Functions | |
override ECharacterStance | GetStance (ECharacterStance desiredStance) |
Must be implemented in derived class Returns the limited stance value desiredStance - stance wanted by AI. | |
override string | GetDebugText () |
![]() | |
override TypeName | GetCategorizationType () |
Returns type which is used for identification of setting type. | |
![]() | |
override int | GetMaxActionCause () |
When making own setting classes, DO NOT declare own constructor to pass data. | |
![]() | |
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) |
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. | |
Static Public Member Functions | |
static SCR_AICharacterStanceSetting_Range | Create (SCR_EAISettingOrigin origin, SCR_EAIBehaviorCause cause, ECharacterStance minStance, ECharacterStance maxStance) |
Protected Member Functions | |
void | VerifyStanceValues () |
![]() | |
void | Init (SCR_EAISettingOrigin origin, SCR_EAIBehaviorCause cause) |
![]() | |
void | Init (SCR_EAISettingOrigin origin) |
Must be called from the factory method, if setting is created dynamically. | |
Protected Attributes | |
ECharacterStance | m_eMinStance |
ECharacterStance | m_eMaxStance |
![]() | |
SCR_EAIBehaviorCause | m_eCause |
![]() | |
SCR_AISettingBase | m_ParentSetting |
SCR_EAISettingOrigin | m_eOrigin |
SCR_EAISettingFlags | m_eFlags |
int | m_iPriority |
Additional Inherited Members | |
![]() | |
const int | ACTION_CAUSE_NOT_SUPPORTED = int.MAX |
![]() | |
static ref SCR_AISettingOriginPriorityTable | s_OriginPriorityTable = new SCR_AISettingOriginPriorityTable() |
Limits stance within min-max range.
|
static |
override string SCR_AICharacterStanceSetting_Range.GetDebugText | ( | ) |
Implements SCR_AISettingBase.
override ECharacterStance SCR_AICharacterStanceSetting_Range.GetStance | ( | ECharacterStance | desiredStance | ) |
Must be implemented in derived class Returns the limited stance value desiredStance - stance wanted by AI.
Implements SCR_AICharacterStanceSettingBase.
|
protected |
|
protected |
|
protected |