Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_UniquePlayerIdentityBioGroupConfig Interface Reference
Inheritance diagram for SCR_UniquePlayerIdentityBioGroupConfig:
SCR_CharacterIdentityBioGroupConfig SCR_IdentityBioGroupConfig

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< string > m_aValidUniquePlayerUIDs
 
- Protected Attributes inherited from SCR_CharacterIdentityBioGroupConfig
ref array< ref SCR_GenderSpecificIdentityBiosm_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_IdentityBiom_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 ()
 

Member Function Documentation

◆ IsValidForRandomization()

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.

Returns
Returns true if the group has a weight and if there are available identities's

Implements SCR_CharacterIdentityBioGroupConfig.

Member Data Documentation

◆ m_aValidUniquePlayerUIDs

ref array<string> SCR_UniquePlayerIdentityBioGroupConfig.m_aValidUniquePlayerUIDs
protected

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