|
| override void | OnItemAdded (IEntity item, BaseInventoryStorageComponent storageOwner) |
| |
| Faction | GetCachedFaction () |
| |
| void | ActivateSpawnPointPublic () |
| |
| void | DeactivateSpawnPointPublic () |
| |
| IEntity | GetTargetPlayer () |
| |
| void | SetPlayerID (int playerID) |
| | Assign player ID to this respawn point.
|
| |
| int | GetPlayerID () |
| | Get ID of the player this spawn point is assigned to.
|
| |
| void | EnablePoint (int playerId, IEntity playerEntity) |
| |
| void | DisablePoint (int playerId) |
| |
| override bool | IsSpawnPointActive () |
| |
| override void | GetPositionAndRotation (out vector pos, out vector rot) |
| |
| override bool | CanReserveFor_S (int playerId, out SCR_ESpawnResult result=SCR_ESpawnResult.SPAWN_NOT_ALLOWED) |
| | Authority: Returns whether this point can be reserved for provided player.
|
| |
| override bool | PrepareSpawnedEntity_S (SCR_SpawnRequestComponent requestComponent, SCR_SpawnData data, IEntity entity) |
| |
| override bool | CanFinalizeSpawn_S (SCR_SpawnRequestComponent requestComponent, SCR_SpawnData data, IEntity entity) |
| | Authority: The PrepareEntity_S step might start doing an operation which is not performed immediately, for such cases we can await the finalization by returning 'false', until spawned entity is in desired state.
|
| |
| override void | OnFinalizeSpawnDone_S (SCR_SpawnRequestComponent requestComponent, SCR_SpawnData data, IEntity entity) |
| | Authority: Callback for when finalization is done, e.g.
|
| |
| void | ~SCR_PlayerSpawnPoint () |
| |
| bool | IsSpawnPointVisibleForPlayer (int pid) |
| |
| bool | IsSpawnPointEnabled () |
| |
| void | SetSpawnPointEnabled_S (bool enabled) |
| |
| ScriptInvokerBool | GetOnSpawnPointEnabled () |
| |
| float | GetRespawnTime () |
| |
| void | SetRespawnTime (float time) |
| |
| int | GetPriority () |
| |
| void | SetPriority (int priority) |
| |
| bool | IsReservedFor_S (int playerId) |
| | Authority: Returns whether this point is currently reserved for provided player.
|
| |
| bool | ReserveFor_S (int playerId) |
| | Authority: Returns whether this point is currently reserved for provided player.
|
| |
| void | ClearReservationFor_S (int playerId) |
| | Authority: Clears reservation for provided player.
|
| |
| float | GetSpawnRadius () |
| |
| void | SetSpawnRadius (float radius) |
| |
| RplId | GetRplId () |
| | Returns RplId of this spawn point.
|
| |
| void | SetUseNearbySpawnPositions (bool use) |
| |
| bool | GetVisibleInDeployMapOnly () |
| |
| void | SetVisibleInDeployMapOnly (bool visible) |
| |
| void | SetFaction (Faction faction) |
| |
| void | SetFactionKey (string factionKey) |
| |
| void | SetSpawnPositionRange (float range) |
| |
| float | GetSpawnPositionRange () |
| |
| array< SCR_Position > | GetChildSpawnPoints () |
| |
| string | GetFactionKey () |
| |
| SCR_UIInfo | GetInfo () |
| |
| void | SetInfo (SCR_UIInfo info) |
| |
| void | SetSpawnPointName (string name) |
| |
| bool | IsTimed () |
| |
| void | SetIsTimed (bool isTimed) |
| |
| void | LinkInfo (SCR_UIInfo info) |
| |
| override void | SetColorAndText () |
| |
| override void | EOnInit (IEntity owner) |
| |
| override bool | RplSave (ScriptBitWriter writer) |
| |
| void | SCR_SpawnPoint (IEntitySource src, IEntity parent) |
| |
| void | ~SCR_SpawnPoint () |
| |
| vector | GetRandomWorldPosition () |
| |
| override int | _WB_GetAfterWorldUpdateSpecs (IEntitySource src) |
| |
| override void | _WB_AfterWorldUpdate (float timeSlice) |
| |
| void | SCR_Position (IEntitySource src, IEntity parent) |
| |
|
| static SCR_SpawnPointFinalizeSpawn_Invoker | GetOnSpawnPointFinalizeSpawn () |
| |
| static void | ShowSpawnPointDescriptors (bool show, Faction faction) |
| |
| static SCR_SpawnPoint | GetSpawnPointByRplId (RplId id) |
| |
| static SCR_SpawnPoint | GetSpawnPointByIndex (int spawnPointIndex) |
| | Return spawn point or null if out of bounds.
|
| |
| static int | GetSpawnPointIndex (SCR_SpawnPoint spawnPoint) |
| | Return spawn point index or -1 if not existant.
|
| |
| static int | CountSpawnPoints () |
| |
| static array< SCR_SpawnPoint > | GetSpawnPoints () |
| |
| static SCR_SpawnPoint | GetRandomSpawnPointDeathmatch () |
| |
| static SCR_SpawnPoint | GetRandomSpawnPoint (SCR_ChimeraCharacter character) |
| |
| static array< SCR_SpawnPoint > | GetSpawnPointsForPlayer (SCR_ChimeraCharacter character) |
| |
| static array< SCR_SpawnPoint > | GetSpawnPointsForFaction (string factionKey) |
| | Get spawn points valid for given faction.
|
| |
| static int | GetSpawnPointCountForFaction (string factionKey) |
| | Get count of spawn points belonging to given faction.
|
| |
| static SCR_SpawnPoint | GetRandomSpawnPointForFaction (string factionKey) |
| |
| float | m_fRandomSpawnRadius |
| |
| static ref ScriptInvoker | Event_OnSpawnPointCountChanged = new ScriptInvoker() |
| |
| static ref ScriptInvoker | Event_SpawnPointFactionAssigned = new ScriptInvoker() |
| |
| static ref SpawnPointInvoker | Event_SpawnPointAdded = new SpawnPointInvoker() |
| |
| static ref SpawnPointInvoker | Event_SpawnPointRemoved = new SpawnPointInvoker() |
| |
| static ref SCR_SpawnPointFinalizeSpawn_Invoker | s_OnSpawnPointFinalizeSpawn |
| |
| static ref SCR_SpawnPointNameChanged_Invoker | OnSpawnPointNameChanged = new SCR_SpawnPointNameChanged_Invoker() |
| |
| void | OnItemRemoved (IEntity item, BaseInventoryStorageComponent storageOwner) |
| |
| override void | ActivateSpawnPoint () |
| |
| override void | DeactivateSpawnPoint () |
| |
| void | OnSetPlayerID () |
| |
| override string | GetSpawnPointName () |
| |
| void | UpdateSpawnPos () |
| |
| void | UpdateSpawnPosBroadcast (vector pos) |
| |
| Vehicle | GetTargetVehicle () |
| |
| bool | PrepareSpawnedEntityForVehicle_S (SCR_SpawnRequestComponent requestComponent, SCR_SpawnData data, IEntity entity, Vehicle vehicle) |
| |
| void | OnSetEnabled () |
| |
| bool | GetEmptyPositionAndRotationInRange (out vector pos, out vector rot) |
| |
| void | ApplyFactionChange (FactionAffiliationComponent owner, Faction previousFaction, Faction newFaction) |
| |
| void | OnSetFactionKey () |
| |
| void | InitFactionAffiliation (IEntity owner) |
| |
| override bool | RplLoad (ScriptBitReader reader) |
| |
| bool | GetRandomPositionAndRotation (out vector vOutPosition, out vector vOutRotation) |
| |
| float | m_fUpdateInterval |
| |
| ref SCR_PlayerUIInfo | m_PlayerInfo |
| |
| int | m_iPlayerID |
| |
| bool | m_bIsActive |
| |
| Faction | m_CachedFaction |
| |
| IEntity | m_TargetPlayer |
| |
| RplComponent | m_RplComponent |
| |
| float | m_fSpawnRadius = 10 |
| |
| float | m_fPlayerCylinderRadius = 0.5 |
| |
| float | m_fPlayerCylinderHeight = 2 |
| |
| float | m_fColliderWidth = m_fPlayerCylinderRadius * 1.73205 |
| |
| float | m_fColliderHeight = m_fPlayerCylinderRadius * 2 |
| |
| vector | m_vCylinderVectorOffset = Vector(0, m_fPlayerCylinderHeight * 0.5, 0) |
| |
| string | m_sFaction |
| |
| bool | m_bShowInDeployMapOnly |
| |
| bool | m_bTimedSpawnPoint |
| |
| int | m_iPriority |
| |
| SCR_UIInfo | m_LinkedInfo |
| |
| SCR_FactionAffiliationComponent | m_FactionAffiliationComponent |
| |
| ref SCR_UIInfo | m_Info |
| |
| bool | m_bUseNearbySpawnPositions |
| |
| float | m_fSpawnPositionUsageRange |
| |
| float | m_fRespawnTime |
| |
| bool | m_bRandomizedSpawn |
| |
| float | m_fRandomSpawnSafeRange |
| |
| int | m_iRandomSpawnMaxAttempts |
| |
| string | m_sSpawnPointName |
| |
| ref array< SCR_Position > | m_aChildren = {} |
| |
| ref set< int > | m_ReservationLocks = new set<int>() |
| | Authority: Set of all pending players that have a reservation for this spawn point.
|
| |
| ref ScriptInvokerBool | m_OnSetSpawnPointEnabled |
| |
| bool | m_bSpawnPointEnabled |
| |
| int | m_iColor = Color.WHITE |
| |
| string | m_sText = string.Empty |
| |