mirror of
https://github.com/emagi/eq2emu
synced 2026-08-12 18:23:04 -04:00
707 B
707 B
Function: Knockback(target_spawn, spawn, duration, vertical, horizontal, use_heading)
Description: Triggers a knockback on the target_spawn with spawn being the originator.
Parameters:
target_spawn(Spawn) - Spawn object representingtarget_spawn.spawn(Spawn) - Spawn object representingspawn.duration(uint32) - Time valuedurationin seconds.vertical(float) - Float valuevertical.horizontal(float) - Float valuehorizontal.use_heading(uint8) - Integer valueuse_heading.
Returns: None.
Example:
-- From SpawnScripts/houseofroachie/GnomishKnockbackDevice.lua
function examined(NPC, Spawn)
Knockback(NPC, Spawn, 10)
end