Lua API
On this page
Effects_SoundEvent_S2C
Inherits from
Applies a sound effect.
Fields:
ObjectId number
ID of the object from which the effect originates. Can be you, another char/npc or an item.
SoundType number
The sound type ID, which is referenced in the Sound Table.
Volume number
Volume to play the sound
Methods:
GetPropertyKeys() : string[]
Returns a list of strings of all public property / field names. Useful for reflection on UserData in lua scripts
Returns:string[]
ToString() : string
Returns a string that represents the current object.
Returns:string