Class Scp939Role
Defines a role that represents SCP-939.
Inherited Members
Namespace: Exiled.API.Features.Roles
Assembly: Exiled.API.dll
Syntax
public class Scp939Role : FpcRole, IWrapper<PlayerRoleBase>, ISubroutinedScpRole, IHumeShieldRole
Properties
| Improve this Doc View SourceAmnesticCloudAbility
Gets SCP-939's PlayerRoles.PlayableScps.Scp939.Scp939AmnesticCloudAbility.
Declaration
public Scp939AmnesticCloudAbility AmnesticCloudAbility { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp939.Scp939AmnesticCloudAbility |
AmnesticCloudCooldown
Gets or sets the amount of time before SCP-939 can use its amnestic cloud ability again.
Declaration
public float AmnesticCloudCooldown { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
AmnesticCloudDuration
Gets or sets the duration of the amnestic cloud.
Declaration
public float AmnesticCloudDuration { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
AttackCooldown
Gets or sets the amount of time before SCP-939 can attack again.
Declaration
public float AttackCooldown { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Base
Gets the PlayerRoles.PlayableScps.Scp939.Scp939Role instance.
Declaration
public Scp939Role Base { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp939.Scp939Role |
ClawAbility
Gets SCP-939's PlayerRoles.PlayableScps.Scp939.Scp939ClawAbility.
Declaration
public Scp939ClawAbility ClawAbility { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp939.Scp939ClawAbility |
EnvironmentalMimicry
Gets SCP-939's PlayerRoles.PlayableScps.Scp939.Mimicry.EnvironmentalMimicry.
Declaration
public EnvironmentalMimicry EnvironmentalMimicry { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp939.Mimicry.EnvironmentalMimicry |
FirearmRippleTrigger
Gets SCP-939's FirearmRippleTrigger.
Declaration
public FirearmRippleTrigger FirearmRippleTrigger { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp939.Ripples.FirearmRippleTrigger |
FocusAbility
Gets SCP-939's PlayerRoles.PlayableScps.Scp939.Scp939FocusAbility.
Declaration
public Scp939FocusAbility FocusAbility { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp939.Scp939FocusAbility |
FootstepRippleTrigger
Gets SCP-939's FootstepRippleTrigger.
Declaration
public FootstepRippleTrigger FootstepRippleTrigger { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp939.Ripples.FootstepRippleTrigger |
HumeShieldModule
Declaration
public HumeShieldModuleBase HumeShieldModule { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.HumeShield.HumeShieldModuleBase |
IsFocused
Gets a value indicating whether or not SCP-939 is currently using its focus ability.
Declaration
public bool IsFocused { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsLunging
Gets a value indicating whether or not SCP-939 is currently lunging.
Declaration
public bool IsLunging { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
LungeAbility
Gets SCP-939's PlayerRoles.PlayableScps.Scp939.Scp939LungeAbility.
Declaration
public Scp939LungeAbility LungeAbility { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp939.Scp939LungeAbility |
LungeState
Gets SCP-939's PlayerRoles.PlayableScps.Scp939.Scp939LungeState.
Declaration
public Scp939LungeState LungeState { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp939.Scp939LungeState |
MimicPointController
Gets SCP-939's MimicPointController.
Declaration
public MimicPointController MimicPointController { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp939.Mimicry.MimicPointController |
MimicryCooldown
Gets or sets the amount of time before SCP-939 can use any of its mimicry abilities again.
Declaration
public float MimicryCooldown { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
MimicryPointActive
Gets a value indicating whether or not SCP-939 has a placed mimic point.
Declaration
public bool MimicryPointActive { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
MimicryPointPosition
Gets a value indicating the position of SCP-939's mimic point. May be null if MimicryPointActive is false.
Declaration
public Vector3? MimicryPointPosition { get; }
Property Value
Type | Description |
---|---|
System.Nullable<UnityEngine.Vector3> |
MimicryRecorder
Gets SCP-939's PlayerRoles.PlayableScps.Scp939.Mimicry.MimicryRecorder.
Declaration
public MimicryRecorder MimicryRecorder { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp939.Mimicry.MimicryRecorder |
SavedVoices
Gets a value indicating the amount of voices that SCP-939 has saved.
Declaration
public int SavedVoices { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
SubroutineModule
Declaration
public SubroutineManagerModule SubroutineModule { get; }
Property Value
Type | Description |
---|---|
SubroutineManagerModule |
Type
Declaration
public override RoleTypeId Type { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.RoleTypeId |
Overrides
| Improve this Doc View SourceVisiblePlayers
Gets a list of players this SCP-939 instance can see regardless of their movement.
Declaration
public List<Player> VisiblePlayers { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Player> |
Methods
| Improve this Doc View SourceClearRecordings()
Removes all recordings of player voices.
Declaration
public void ClearRecordings()
ClearRecordings(Player)
Removes all recordings of player voices. Provide an optional target to remove all the recordings of a single player.
Declaration
public void ClearRecordings(Player target)
Parameters
Type | Name | Description |
---|---|---|
Player | target | If provided, will only remove recordings of the targeted player. |
CreateCloud(Single)
Created a Amnestic Cloud at the SCP-939's position.
Declaration
public void CreateCloud(float duration)
Parameters
Type | Name | Description |
---|---|---|
System.Single | duration | The duration of the Amnestic cloud. |
DestroyCurrentMimicPoint()
Destroys the Current Mimic Point.
Declaration
public void DestroyCurrentMimicPoint()
Finalize()
Finalizes an instance of the Scp939Role class.
Declaration
protected void Finalize()
GetSpawnChance(List<RoleTypeId>)
Gets the Spawn Chance of SCP-939.
Declaration
public float GetSpawnChance(List<RoleTypeId> alreadySpawned)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<PlayerRoles.RoleTypeId> | alreadySpawned | The List of Roles already spawned. |
Returns
Type | Description |
---|---|
System.Single | The Spawn Chance. |
PlaceMimicPoint(Vector3)
Place a Mimic Point at the specified position.
Declaration
public void PlaceMimicPoint(Vector3 mimicPointPosition)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Vector3 | mimicPointPosition | The Position of the Mimic Point. |
PlayRippleSound(UsableRippleType, Vector3, Player)
Plays a Ripple Sound (Usable RippleType: Footstep, FireArm).
Declaration
public void PlayRippleSound(UsableRippleType ripple, Vector3 position, Player playerToSend)
Parameters
Type | Name | Description |
---|---|---|
UsableRippleType | ripple | The RippleType to play to 939. |
UnityEngine.Vector3 | position | The Sync Position to play. |
Player | playerToSend | The Player to send the Ripple Sound. |