|
Barotrauma Server
|
Changes the team of an NPC. Most common use cases are adding a character to the crew, or turning an NPC hostile to the crew by changing their team to a hostile one. More...
Public Member Functions | |
| NPCChangeTeamAction (ScriptedEvent parentEvent, ContentXElement element) | |
| override void | Update (float deltaTime) |
| override bool | IsFinished (ref string goTo) |
| override void | Reset () |
| override string | ToDebugString () |
| Rich test to display in debugdraw. | |
Public Member Functions inherited from Barotrauma.EventAction | |
| 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 () |
Properties | |
| Identifier | NPCTag [get, set] |
| CharacterTeamType | TeamID [get, set] |
| bool | AddToCrew [get, set] |
| bool | RemoveFromCrew [get, set] |
Additional Inherited Members | |
Static Public Member Functions inherited from Barotrauma.EventAction | |
| static EventAction | Instantiate (ScriptedEvent scriptedEvent, ContentXElement element) |
Public Attributes inherited from Barotrauma.EventAction | |
| readonly ScriptedEvent | ParentEvent |
Protected Member Functions inherited from Barotrauma.EventAction | |
| void | ApplyTagsToHulls (Entity entity, Identifier hullTag, Identifier linkedHullTag) |
| string | GetEventDebugName () |
Changes the team of an NPC. Most common use cases are adding a character to the crew, or turning an NPC hostile to the crew by changing their team to a hostile one.
| Barotrauma.NPCChangeTeamAction.NPCChangeTeamAction | ( | ScriptedEvent | parentEvent, |
| ContentXElement | element ) |
| override bool Barotrauma.NPCChangeTeamAction.IsFinished | ( | ref string | goTo | ) |
| override void Barotrauma.NPCChangeTeamAction.Reset | ( | ) |
|
virtual |
Rich test to display in debugdraw.
Reimplemented from Barotrauma.EventAction.
|
virtual |
Reimplemented from Barotrauma.EventAction.
|
getset |
|
getset |
|
getset |
|
getset |