|
| int | GetMainPlayerID () |
| | Returns playerID of the most important player in the vehicle.
|
| |
| void | UpdatePassenger (SCR_NameTagData tag, bool IsEntering, bool isControlledEntity=false) |
| | Update current tracked passangers within the vehicle.
|
| |
| override void | GetName (out string name, out notnull array< string > nameParams) |
| | Get/update nametag name.
|
| |
| override void | UpdateTagPos () |
| | Update tag position.
|
| |
| void | UpdatePriorityEntityState () |
| | Update the highest priority entity state (as ordered in enum)
|
| |
| void | ActivateEntityState (ENameTagEntityState state) |
| | Add entity state flag.
|
| |
| void | DeactivateEntityState (ENameTagEntityState state) |
| | Remove ENameTagEntityState flag.
|
| |
| void | SetVisibility (Widget widget, bool visible, float visibleOpacity, bool animate=true) |
| | Set visibility of nametag widget.
|
| |
| void | ResizeElement (Widget widget, float targetVal) |
| | Resize nametag element.
|
| |
| void | UpdateEntityType () |
| | Determine type of nametag entity.
|
| |
| BaseCompartmentSlot | GetVehicleCompartment () |
| |
| void | SetTagPosition (ENameTagPosition pos, bool gradualChange=true) |
| | Set what is the nametag position attached to.
|
| |
| void | SetGroup (SCR_AIGroup group) |
| | Set group state if it matches with current player group.
|
| |
| void | CheckAISubordinate (IEntity entity) |
| | Set AI_SUBORDINATE if it falls under current players command.
|
| |
| void | RemoveVehicleOccupant (IEntity vehicle) |
| | Remove this tag as occupant to a vehicle tag.
|
| |
| void | OnVehicleEntered (IEntity vehicle, BaseCompartmentManagerComponent manager, int mgrID, int slotID) |
| | SCR_CompartmentAccessComponent event.
|
| |
| void | OnVehicleLeft (IEntity vehicle, BaseCompartmentManagerComponent manager, int mgrID, int slotID) |
| | SCR_CompartmentAccessComponent event.
|
| |
| void | OnReceivedVON (int playerId, BaseTransceiver receiver, int frequency, float quality) |
| | VoNComponent event, only used for "Current player" tag.
|
| |
| void | OnLifeStateChanged (ECharacterLifeState previousLifeState, ECharacterLifeState newLifeState) |
| | SCR_CharacterController event.
|
| |
| void | Cleanup (bool removeFromArray=true) |
| | Cleanup.
|
| |
| bool | InitTag (SCR_NameTagDisplay display, IEntity entity, SCR_NameTagConfig config, bool IsCurrentPlayer=false) |
| | Init nametag data class, the widget is held and reused, data has to be reinitialized.
|
| |
| void | ResetTag () |
| | Uninitialize class when its being moved to unsued tags in order to be reused.
|
| |
| void | SCR_NameTagData (ResourceName layout, Widget rootWidget) |
| |
| void | ~SCR_NameTagData () |
| |