Lua API
On this page
Effects_PlayScriptType_S2C
Inherits from
Applies an effect with visual and sound by providing the type to be looked up in the Physics Script Table
Fields:
ObjectId number
ID of the object from which the effect originates. Can be you, another char/npc or an item.
ScriptId number
The script type id
Speed number
Speed to play the particle effect at. 1.0 is default, lower for slower, higher for faster.
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