Barotrauma Client
|
Tags a specific entity. Tags are used by other actions to refer to specific entities. The tags are event-specific, i.e. you cannot use a tag that was added by another event to refer to an entity. More...
Public Types | |
enum | SubType { Any = 0 , Player = 1 , Outpost = 2 , Wreck = 4 , BeaconStation = 8 } |
Public Member Functions | |
TagAction (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 bool | SubmarineTypeMatches (Submarine sub, SubType submarineType) |
![]() | |
static EventAction | Instantiate (ScriptedEvent scriptedEvent, ContentXElement element) |
Properties | |
string | Criteria [get, set] |
Identifier | Tag [get, set] |
SubType | SubmarineType [get, set] |
Identifier | RequiredModuleTag [get, set] |
bool | IgnoreIncapacitatedCharacters [get, set] |
bool | AllowHiddenItems [get, set] |
bool | ChooseRandom [get, set] |
bool | ContinueIfNoTargetsFound [get, set] |
float | ChoosePercentage [get, set] |
Additional Inherited Members | |
![]() | |
readonly ScriptedEvent | ParentEvent |
![]() | |
void | ApplyTagsToHulls (Entity entity, Identifier hullTag, Identifier linkedHullTag) |
string | GetEventDebugName () |
Tags a specific entity. Tags are used by other actions to refer to specific entities. The tags are event-specific, i.e. you cannot use a tag that was added by another event to refer to an entity.
Barotrauma.TagAction.TagAction | ( | ScriptedEvent | parentEvent, |
ContentXElement | element ) |
override bool Barotrauma.TagAction.IsFinished | ( | ref string | goTo | ) |
override void Barotrauma.TagAction.Reset | ( | ) |
|
static |
|
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 |