|
| Identifier | Target1Tag [get, set] |
| |
| Identifier | Target2Tag [get, set] |
| |
| Identifier | TargetModuleType [get, set] |
| |
| Identifier | ApplyToTarget1 [get, set] |
| |
| Identifier | ApplyToTarget2 [get, set] |
| |
| TriggerType | Type [get, set] |
| |
| float | Radius [get, set] |
| |
| bool | DisableInCombat [get, set] |
| |
| bool | DisableIfTargetIncapacitated [get, set] |
| |
| bool | WaitForInteraction [get, set] |
| |
| bool | AllowMultipleTargets [get, set] |
| |
| bool | CheckAllTargets [get, set] |
| |
| bool | SelectOnTrigger [get, set] |
| |
Definition at line 8 of file TriggerAction.cs.
◆ TriggerType
◆ TriggerAction()
◆ IsFinished()
| override bool Barotrauma.TriggerAction.IsFinished |
( |
ref string |
goToLabel | ) |
|
|
virtual |
Has the action finished.
- Parameters
-
| goToLabel | If null or empty, the event moves to the next action. Otherwise it moves to the specified label. |
- Returns
Implements Barotrauma.EventAction.
Definition at line 60 of file TriggerAction.cs.
◆ Reset()
| override void Barotrauma.TriggerAction.Reset |
( |
| ) |
|
|
virtual |
◆ ToDebugString()
| override string Barotrauma.TriggerAction.ToDebugString |
( |
| ) |
|
|
virtual |
Rich test to display in debugdraw
{
return $"{ToolBox.GetDebugSymbol(isFinished)} SomeAction -> "(someInfo: {info.ColorizeObject()})";
}
override string ToDebugString()
Rich test to display in debugdraw
- Returns
Reimplemented from Barotrauma.EventAction.
Definition at line 398 of file TriggerAction.cs.
◆ Update()
| override void Barotrauma.TriggerAction.Update |
( |
float |
deltaTime | ) |
|
|
virtual |
◆ isRunning
| bool Barotrauma.TriggerAction.isRunning = false |
◆ AllowMultipleTargets
| bool Barotrauma.TriggerAction.AllowMultipleTargets |
|
getset |
◆ ApplyToTarget1
| Identifier Barotrauma.TriggerAction.ApplyToTarget1 |
|
getset |
◆ ApplyToTarget2
| Identifier Barotrauma.TriggerAction.ApplyToTarget2 |
|
getset |
◆ CheckAllTargets
| bool Barotrauma.TriggerAction.CheckAllTargets |
|
getset |
◆ DisableIfTargetIncapacitated
| bool Barotrauma.TriggerAction.DisableIfTargetIncapacitated |
|
getset |
◆ DisableInCombat
| bool Barotrauma.TriggerAction.DisableInCombat |
|
getset |
◆ Radius
| float Barotrauma.TriggerAction.Radius |
|
getset |
◆ SelectOnTrigger
| bool Barotrauma.TriggerAction.SelectOnTrigger |
|
getset |
◆ Target1Tag
◆ Target2Tag
◆ TargetModuleType
| Identifier Barotrauma.TriggerAction.TargetModuleType |
|
getset |
◆ Type
◆ WaitForInteraction
| bool Barotrauma.TriggerAction.WaitForInteraction |
|
getset |