Barotrauma Client
|
Spawns an entity (e.g. item, NPC, monster). More...
Public Types | |
enum | SpawnLocationType { Any , MainSub , Outpost , MainPath , Ruin , Wreck , BeaconStation , NearMainSub } |
Public Member Functions | |
SpawnAction (ScriptedEvent parentEvent, ContentXElement element) | |
override bool | IsFinished (ref string goTo) |
override void | Reset () |
override void | Update (float deltaTime) |
override string | ToDebugString () |
Rich test to display in debugdraw. | |
![]() | |
EventAction (ScriptedEvent parentEvent, ContentXElement element) | |
bool | IsFinished (ref string goToLabel) |
Has the action finished. | |
virtual bool | SetGoToTarget (string goTo) |
void | Reset () |
virtual bool | CanBeFinished () |
virtual IEnumerable< EventAction > | GetSubActions () |
Static Public Member Functions | |
static Vector2 | OffsetSpawnPos (Vector2 pos, float offset) |
static WayPoint | GetSpawnPos (SpawnLocationType spawnLocation, SpawnType? spawnPointType, IEnumerable< Identifier > moduleFlags=null, IEnumerable< Identifier > spawnpointTags=null, bool asFarAsPossibleFromAirlock=false, bool requireTaggedSpawnPoint=false, bool allowInPlayerView=true) |
![]() | |
static EventAction | Instantiate (ScriptedEvent scriptedEvent, ContentXElement element) |
Properties | |
Identifier | SpeciesName [get, set] |
Identifier | NPCSetIdentifier [get, set] |
Identifier | NPCIdentifier [get, set] |
bool | LootingIsStealing [get, set] |
Identifier | ItemIdentifier [get, set] |
Identifier | TargetTag [get, set] |
Identifier | TargetInventory [get, set] |
SpawnLocationType | SpawnLocation [get, set] |
SpawnType | SpawnPointType [get, set] |
Identifier | SpawnPointTag [get, set] |
CharacterTeamType | TeamID [get, protected set] |
bool | RequireSpawnPointTag [get, set] |
bool | AllowDuplicates [get, set] |
int | Amount [get, set] |
float | Offset [get, set] |
string | TargetModuleTags [get, set] |
bool | IgnoreByAI [get, set] |
bool | AllowInPlayerView [get, set] |
Additional Inherited Members | |
![]() | |
readonly ScriptedEvent | ParentEvent |
![]() | |
void | ApplyTagsToHulls (Entity entity, Identifier hullTag, Identifier linkedHullTag) |
string | GetEventDebugName () |
Spawns an entity (e.g. item, NPC, monster).
Barotrauma.SpawnAction.SpawnAction | ( | ScriptedEvent | parentEvent, |
ContentXElement | element ) |
|
static |
override bool Barotrauma.SpawnAction.IsFinished | ( | ref string | goTo | ) |
override void Barotrauma.SpawnAction.Reset | ( | ) |
|
virtual |
Rich test to display in debugdraw.
Reimplemented from Barotrauma.EventAction.
|
virtual |
Reimplemented from Barotrauma.EventAction.
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getprotected set |