|
Identifier | TargetTag [get, set] |
|
Identifier | SecondRequiredTargetTag [get, set] |
|
Identifier | HullTag [get, set] |
|
int | MinAmount [get, set] |
|
int | MaxAmount [get, set] |
|
Identifier | CompareToTarget [get, set] |
|
float | MinPercentageRelativeToTarget [get, set] |
| Minimum amount of targets, as a percentage of the number of entities tagged with CompareToTarget E.g. you could compare the number of entities tagged as "discoveredhull" to entities tagged as "anyhull" to require 50% of hulls to be discovered. More...
|
|
float | MaxPercentageRelativeToTarget [get, set] |
| Maximum amount of targets, as a percentage of the number of entities tagged with CompareToTarget E.g. you could compare the number of entities tagged as "floodedhull" to entities tagged as "anyhull" to require less than 50% of hulls to be flooded. More...
|
|
Definition at line 8 of file CountTargetsAction.cs.
◆ CountTargetsAction()
◆ DetermineSuccess()
override? bool Barotrauma.CountTargetsAction.DetermineSuccess |
( |
| ) |
|
|
protectedvirtual |
◆ ToDebugString()
override string Barotrauma.CountTargetsAction.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 116 of file CountTargetsAction.cs.
◆ CompareToTarget
Identifier Barotrauma.CountTargetsAction.CompareToTarget |
|
getset |
◆ HullTag
◆ MaxAmount
int Barotrauma.CountTargetsAction.MaxAmount |
|
getset |
◆ MaxPercentageRelativeToTarget
float Barotrauma.CountTargetsAction.MaxPercentageRelativeToTarget |
|
getset |
Maximum amount of targets, as a percentage of the number of entities tagged with CompareToTarget E.g. you could compare the number of entities tagged as "floodedhull" to entities tagged as "anyhull" to require less than 50% of hulls to be flooded.
Definition at line 42 of file CountTargetsAction.cs.
◆ MinAmount
int Barotrauma.CountTargetsAction.MinAmount |
|
getset |
◆ MinPercentageRelativeToTarget
float Barotrauma.CountTargetsAction.MinPercentageRelativeToTarget |
|
getset |
Minimum amount of targets, as a percentage of the number of entities tagged with CompareToTarget E.g. you could compare the number of entities tagged as "discoveredhull" to entities tagged as "anyhull" to require 50% of hulls to be discovered.
Definition at line 34 of file CountTargetsAction.cs.
◆ SecondRequiredTargetTag
Identifier Barotrauma.CountTargetsAction.SecondRequiredTargetTag |
|
getset |
◆ TargetTag
Identifier Barotrauma.CountTargetsAction.TargetTag |
|
getset |