llDamage
function ll.Damage(target: string, damage: number, type: number)Generates a damage event on the targeted agent or task.
Parameters
-
target(string) - Agent or task to receive damage.
-
damage(number) - Damage amount to inflict on this target.
-
type(number) - Damage type to inflict on this target.
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.Damage().
Add additional notes, caveats, or tips specific to using this function in SLua/Luau.
See Also
Section titled “See Also”- Related functions can be linked here
- LSL equivalent: llDamage