add SpawnTableOnUse (#32620)
* add SpawnTableOnUse * make BaseEmitSound more flexible and remove sound from spawntable * add log * :trollface: --------- Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
@@ -14,4 +14,11 @@ public abstract partial class BaseEmitSoundComponent : Component
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField(required: true)]
|
||||
public SoundSpecifier? Sound;
|
||||
|
||||
/// <summary>
|
||||
/// Play the sound at the position instead of parented to the source entity.
|
||||
/// Useful if the entity is deleted after.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public bool Positional;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user