Table of Contents

Class Scp106Role

Namespace
Exiled.API.Features.Roles
Assembly
Exiled.API.dll

Defines a role that represents SCP-106.

public class Scp106Role : FpcRole, IWrapper<PlayerRoleBase>, IVoiceRole, ISubroutinedScpRole, IHumeShieldRole, ISpawnableScp
Inheritance
Scp106Role
Implements
IWrapper<PlayerRoleBase>
ISpawnableScp
Inherited Members
Extension Methods

Properties

Attack

Gets the PlayerRoles.PlayableScps.Scp106.Scp106Attack.

public Scp106Attack Attack { get; }

Property Value

Scp106Attack

AttackDamage

Gets or sets how mush damage Scp106 will dealt when attacking a player.

public int AttackDamage { get; set; }

Property Value

int

Base

Gets the PlayerRoles.PlayableScps.Scp106.Scp106Role.

public Scp106Role Base { get; }

Property Value

Scp106Role

CanActivateTesla

Gets a value indicating whether SCP-106 can activate teslas.

public bool CanActivateTesla { get; }

Property Value

bool

CanStopStalk

Gets a value indicating whether if SCP-106 PlayerRoles.PlayableScps.Scp106.Scp106StalkAbility can be cleared.

public bool CanStopStalk { get; }

Property Value

bool

CaptureCooldown

Gets or sets the amount of time in between player captures.

public float CaptureCooldown { get; set; }

Property Value

float

HumeShieldModule

Gets the PlayerRoles.PlayableScps.HumeShield.HumeShieldModuleBase.

public HumeShieldModuleBase HumeShieldModule { get; }

Property Value

HumeShieldModuleBase

HuntersAtlasAbility

Gets the PlayerRoles.PlayableScps.Scp106.Scp106HuntersAtlasAbility.

public Scp106HuntersAtlasAbility HuntersAtlasAbility { get; }

Property Value

Scp106HuntersAtlasAbility

IsDuringAnimation

Gets a value indicating whether SCP-106 is currently in the middle of an animation.

public bool IsDuringAnimation { get; }

Property Value

bool

IsSinkholeHidden

Gets a value indicating whether SCP-106 sinkhole is hidden.

public bool IsSinkholeHidden { get; }

Property Value

bool

IsSlowdown

Gets a value indicating whether SCP-106 is currently slow down by a door.

public bool IsSlowdown { get; }

Property Value

bool

IsStalking

Gets or sets a value indicating whether SCP-106 will enter his stalking mode.

public bool IsStalking { get; set; }

Property Value

bool

IsSubmerged

Gets or sets a value indicating whether SCP-106 is currently submerged.

public bool IsSubmerged { get; set; }

Property Value

bool

MovementModule

Gets the PlayerRoles.PlayableScps.Scp106.Scp106MovementModule.

public Scp106MovementModule MovementModule { get; }

Property Value

Scp106MovementModule

RemainingSinkholeCooldown

Gets or sets the Sinkhole cooldown.

public float RemainingSinkholeCooldown { get; set; }

Property Value

float

SinkholeController

Gets the PlayerRoles.PlayableScps.Scp106.Scp106SinkholeController.

public Scp106SinkholeController SinkholeController { get; }

Property Value

Scp106SinkholeController

SinkholeCurrentTime

Gets a value indicating the current time of the sinkhole.

public float SinkholeCurrentTime { get; }

Property Value

float

SinkholeState

Gets or sets a value indicating whether the current sinkhole state.

public bool SinkholeState { get; set; }

Property Value

bool

SinkholeTargetDuration

Gets the sinkhole target duration.

public float SinkholeTargetDuration { get; }

Property Value

float

StalkAbility

Gets the PlayerRoles.PlayableScps.Scp106.Scp106Attack.

public Scp106StalkAbility StalkAbility { get; }

Property Value

Scp106StalkAbility

SubroutineModule

Gets the SCP PlayerRoles.Subroutines.SubroutineManagerModule.

public SubroutineManagerModule SubroutineModule { get; }

Property Value

SubroutineManagerModule

Type

Gets the PlayerRoles.RoleTypeId of this Player.

public override RoleTypeId Type { get; }

Property Value

RoleTypeId

Vigor

Gets or sets SCP-106's Vigor Level.

public float Vigor { get; set; }

Property Value

float

VigorAbility

Gets the PlayerRoles.PlayableScps.Scp106.Scp106VigorAbilityBase.

public Scp106VigorAbilityBase VigorAbility { get; }

Property Value

Scp106VigorAbilityBase

VigorComponent

Gets the PlayerRoles.PlayableScps.Scp106.VigorStat.

public VigorStat VigorComponent { get; }

Property Value

VigorStat

Methods

CapturePlayer(Player)

Send a player to the pocket dimension.

public bool CapturePlayer(Player player)

Parameters

player Player

The Playerto send.

Returns

bool

If the player will be capture.

GetSpawnChance(List<RoleTypeId>)

Gets the Spawn Chance of SCP-106.

public float GetSpawnChance(List<RoleTypeId> alreadySpawned)

Parameters

alreadySpawned List<RoleTypeId>

The List of Roles already spawned.

Returns

float

The Spawn Chance.

UsePortal(Vector3, float)

Forces SCP-106 to use its portal, and Teleport to position.

public bool UsePortal(Vector3 position, float cost = 0)

Parameters

position Vector3

Where the player will be teleported.

cost float

The amount of vigor that is required and will be consumed.

Returns

bool

If the player will be teleport.