|
Arma Reforger Script API
|
Public Member Functions | |
| override bool | IsValidForRandomization (IEntity entity, SCR_ExtendedIdentityComponent extendedIdentity) |
| General check if group is valid for randomization param[in] entity Entity which will get a identity param[in] extendedIdentity Extended Identity Component of the entity. | |
Public Member Functions inherited from SCR_CharacterIdentityBioGroupConfig | |
| override bool | IsValidFaction (string factionKey) |
| Is Valid faction. | |
| override bool | IsValidFaction (int factionIndex) |
| Is Valid faction. | |
| override SCR_IdentityBio | GetIdentityBio (IEntity entity, int index) |
| Get an bio from Index. | |
| override void | AssignRandomAvailableBio (RandomGenerator randomizer, IEntity entity, out int index, out SCR_IdentityBio bio) |
| Get an random available bio (Server Only) Also removes the bio from available list. | |
| override SCR_IdentityBio | OnCharacterBioAssigned (IEntity entity, int index) |
| Called when Character bio is assigned (Server Only) Also removes the bio from available list (Unless the group has no weight and thus need to be randonly assigned) | |
| override void | ResetAvailable () |
| Resets all available indexes. Including Unique (Server Only) | |
| void | SCR_CharacterIdentityBioGroupConfig () |
Public Member Functions inherited from SCR_IdentityBioGroupConfig | |
| bool | IsEnabled () |
| Check if Bio Config is enabled. | |
| int | GetWeight () |
| Return randomization weight. | |
| string | GetBioGroupID () |
| Get bio group ID. | |
| void | SCR_IdentityBioGroupConfig () |
Protected Attributes | |
| ref array< UUID > | m_aValidUniquePlayerUIDs |
Protected Attributes inherited from SCR_CharacterIdentityBioGroupConfig | |
| ref array< ref SCR_GenderSpecificIdentityBios > | m_aGenderSpecificIdentityLists |
| SCR_ECharacterIdentityBioGroupType | m_eIdentityGroupType |
| SCR_EIdentityCharacterControlType | m_eCharacterControlTypes |
| ref map< SCR_EIdentityGender, ref array< int > > | m_mAvailableGenderSpecificBioIndexLists |
| ref map< SCR_EIdentityGender, ref array< int > > | m_mUnavailableGenderSpecificBioIndexLists |
Protected Attributes inherited from SCR_IdentityBioGroupConfig | |
| bool | m_bEnabled |
| string | m_sBioGroupID |
| int | m_iWeight |
| float | m_fEntryAmountWeightMulti |
| ref array< string > | m_aNeedsFaction |
| ref array< ref SCR_IdentityBio > | m_aIdentityList |
| ref array< int > | m_aNeedsFactionIndexes |
| ref array< int > | m_aAvailableIdentityBioIndexList = {} |
| ref array< int > | m_aUnavailableIdentityBioIndexList = {} |
Additional Inherited Members | |
Protected Member Functions inherited from SCR_CharacterIdentityBioGroupConfig | |
| SCR_EIdentityGender | GetEntityGender (IEntity entity) |
| override void | DelayedInit () |
| override void | SetAdditionalWeight () |
| override bool SCR_UniquePlayerIdentityBioGroupConfig.IsValidForRandomization | ( | IEntity | entity, |
| SCR_ExtendedIdentityComponent | extendedIdentity ) |
General check if group is valid for randomization param[in] entity Entity which will get a identity param[in] extendedIdentity Extended Identity Component of the entity.
Implements SCR_CharacterIdentityBioGroupConfig.
|
protected |