Show / Hide Table of Contents

Class EmbeddableProjectileComponent

Embeds this entity inside of the hit target.

Inheritance
System.Object
EmbeddableProjectileComponent
Namespace: Content.Shared.Projectiles
Assembly: Content.Shared.dll
Syntax
public sealed class EmbeddableProjectileComponent : Component

Fields

| Improve this Doc View Source

DeleteOnRemove

Delete the entity on embedded removal? Does nothing if there's no RemovalTime.

Declaration
public bool DeleteOnRemove
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

EmbedOnThrow

Whether this entity will embed when thrown, or only when shot as a projectile.

Declaration
public bool EmbedOnThrow
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

MinimumSpeed

Minimum speed of the projectile to embed.

Declaration
public float MinimumSpeed
Field Value
Type Description
System.Single
| Improve this Doc View Source

Offset

How far into the entity should we offset (0 is wherever we collided).

Declaration
public Vector2 Offset
Field Value
Type Description
Vector2
| Improve this Doc View Source

RemovalTime

How long it takes to remove the embedded object.

Declaration
public float? RemovalTime
Field Value
Type Description
System.Nullable<System.Single>
| Improve this Doc View Source

Sound

Sound to play after embedding into a hit target.

Declaration
public SoundSpecifier Sound
Field Value
Type Description
Robust.Shared.Audio.SoundSpecifier
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾