Class GenericAntagComponent
Added to a mob to make it a generic antagonist where all its objectives are fixed. This is unlike say traitor where it gets objectives picked randomly using difficulty.
Inheritance
System.Object
GenericAntagComponent
Namespace: Content.Server.GenericAntag
Assembly: Content.Server.dll
Syntax
public sealed class GenericAntagComponent : Component
Remarks
A GenericAntag is not necessarily an antagonist, that depends on the roles you do or do not add after.
Fields
| Improve this Doc View SourceRule
Gamerule to start when a mind is added. This must have GenericAntagRuleComponent or it will not work.
Declaration
public EntProtoId Rule
Field Value
Type | Description |
---|---|
Robust.Shared.Prototypes.EntProtoId |
RuleEntity
The rule that's been spawned. Used to prevent spawning multiple rules.
Declaration
public EntityUid? RuleEntity
Field Value
Type | Description |
---|---|
System.Nullable<EntityUid> |