◆ _WB_OnInit()
override void SCR_FactionAliasComponent._WB_OnInit |
( |
IEntity | owner, |
|
|
inout vector | mat[4], |
|
|
IEntitySource | src ) |
Initializes the facton alias component instance for Workbench object previews.
- Parameters
-
[in] | owner | The owner represents the entity that initializes the script. |
[in,out] | mat | Mat is a 4x4 matrix representing the world space transformation for the entity. |
[in] | src | Source entity providing initialization data for the component. |
◆ GetFactionAliasComponentForWB()
Only use for object previews at WorkBench time.
In game time, use GetGame().GetFactionManager().FindComponent(SCR_FactionAliasComponent)
- Returns
- Faction alias component for Worldbench object previews.
◆ GetFactionAliasMap()
- Returns
- a copy of the Faction alias map configuration.
◆ InitAliasMap()
void SCR_FactionAliasComponent.InitAliasMap |
( |
| ) |
|
Initializes alias map from both component instance and overriden by the mission header.
◆ OnPostInit()
override void SCR_FactionAliasComponent.OnPostInit |
( |
IEntity | owner | ) |
|
- Parameters
-
[in] | owner | The owner represents the entity that initiated the OnPostInit event, which is being passed as an argument for this method to perform |
◆ ResolveFactionAlias()
Resolves input alias for a faction key, returning original input if no alias found.
- Parameters
-
[in] | inputFactionKey | Resolves alias for input faction key. |
- Returns
- the alias for the input facton key if it exists, otherwise returns the input facton key itself.
◆ m_aFactionAliases
◆ m_FactionAliasComponentInstanceForWB
◆ m_mAliasToFactionKeyMap
The documentation for this interface was generated from the following file:
- Game/GameMode/FactionManager/SCR_FactionAliasComponent.c