Class Scp0492Role
Defines a role that represents SCP-049-2.
public class Scp0492Role : FpcRole, IWrapper<PlayerRoleBase>, IVoiceRole, ISubroutinedScpRole, IHumeShieldRole
- Inheritance
-
Scp0492Role
- Implements
-
IWrapper<PlayerRoleBase>
- Inherited Members
- Extension Methods
Properties
AttackAbility
Gets SCP-049-2's PlayerRoles.PlayableScps.Scp049.Zombies.ZombieAttackAbility.
public ZombieAttackAbility AttackAbility { get; }
Property Value
- ZombieAttackAbility
AttackCooldown
Gets the amount of time in between SCP-049-2 attacks.
public float AttackCooldown { get; }
Property Value
AttackDamage
Gets the SCP-049-2 attack damage.
public float AttackDamage { get; }
Property Value
BloodlustAbility
Gets SCP-049-2's PlayerRoles.PlayableScps.Scp049.Zombies.ZombieBloodlustAbility.
public ZombieBloodlustAbility BloodlustAbility { get; }
Property Value
- ZombieBloodlustAbility
BloodlustActive
Gets a value indicating whether SCP-049-2 is currently pursuing a target (Bloodlust ability).
public bool BloodlustActive { get; }
Property Value
ConsumeAbility
Gets SCP-049-2's PlayerRoles.PlayableScps.Scp049.Zombies.ZombieConsumeAbility.
public ZombieConsumeAbility ConsumeAbility { get; }
Property Value
- ZombieConsumeAbility
HumeShieldModule
Gets a reference to the role's PlayerRoles.PlayableScps.HumeShield.HumeShieldModuleBase.
public HumeShieldModuleBase HumeShieldModule { get; }
Property Value
- HumeShieldModuleBase
IsConsuming
Gets a value indicating whether SCP-049-2 is consuming a ragdoll.
public bool IsConsuming { get; }
Property Value
RagdollConsuming
Gets the Ragdoll that SCP-049-2 is currently consuming. Will be null if IsConsuming is false.
public Ragdoll RagdollConsuming { get; }
Property Value
ResurrectNumber
Gets or sets the amount of times this SCP-049-2 has been resurrected.
public int ResurrectNumber { get; set; }
Property Value
SimulatedStare
Gets or sets a value indicating the amount of time to simulate SCP-049-2's Bloodlust ability.
public float SimulatedStare { get; set; }
Property Value
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
Methods
IsInConsumeRange(Ragdoll)
Returns a bool indicating whether SCP-049-2 is close enough to a ragdoll to consume it.
public bool IsInConsumeRange(Ragdoll ragdoll)
Parameters
ragdoll
RagdollThe ragdoll to check.
Returns
Remarks
This method only returns whether SCP-049-2 is close enough to the body to consume it; the body may have been consumed previously. Make sure to check IsConsumed to ensure the body can be consumed.
IsInConsumeRange(BasicRagdoll)
Returns a bool indicating whether SCP-049-2 is close enough to a ragdoll to consume it.
public bool IsInConsumeRange(BasicRagdoll ragdoll)
Parameters
ragdoll
BasicRagdollThe ragdoll to check.
Returns
Remarks
This method only returns whether SCP-049-2 is close enough to the body to consume it; the body may have been consumed previously. Make sure to check IsConsumed to ensure the body can be consumed.