![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Classes | |
| class | SCR_AICharacterSettingsComponentClass |
Functions | |
| SCR_AICharacterSettingsComponentClass SCR_AISettingsBaseComponentClass | Attribute ("", UIWidgets.Auto, desc:"These settings will be added as SCR_EAISettingOrigin.DEFAULT")] protected ref array< ref SCR_AICharacterSetting > m_aDefaultSettings |
| bool | AddCharacterSetting (notnull SCR_AICharacterSetting setting, bool createCopy, bool removeSameTypeAndOrigin=false) |
| bool | AddSetting (notnull SCR_AISettingBase setting, bool createCopy, bool removeSameTypeAndOrigin=false) |
| It's overridden as protected. This way SCR_AICharacterSettingsComponent accepts only character settings. | |
| override void | OnPostInit (IEntity owner) |
| Editable Mine. | |
| bool AddCharacterSetting | ( | notnull SCR_AICharacterSetting | setting, |
| bool | createCopy, | ||
| bool | removeSameTypeAndOrigin = false ) |
Adds settings to character. This is meant only for character-related settings, those inheriting from SCR_AICharacterSetting. createCopy - when true, a copy of the setting object will be created. When false, this component takes ownership of passed setting object. If you want to add same setting to many agents, always add it with createCopy=true, or make a copy yourself. removeSameTypeAndOrigin - if true, removes all settings which have same categorization type and origin.
Definition at line 19 of file SCR_AICharacterSettingsComponent.c.
|
protected |
It's overridden as protected. This way SCR_AICharacterSettingsComponent accepts only character settings.
Definition at line 26 of file SCR_AICharacterSettingsComponent.c.
| SCR_AICharacterSettingsComponentClass SCR_AISettingsBaseComponentClass Attribute | ( | "" | , |
| UIWidgets. | Auto, | ||
| desc:"These settings will be added as SCR_EAISettingOrigin.DEFAULT" | ) |