New LUA Function: Knockback()

Discussions on development of both the EQ2Emulator LUA Script Engine and Script specifications

Moderator: Team Members

Post Reply
Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

New LUA Function: Knockback()

Post by Jabantiz » Wed Dec 04, 2013 2:41 pm

Knockback()
Plays a knocked to back or knocked to knees animation, also if a player is knocked back additional parameters can be provided to toss the player back.

Here is a example to toss the player when they hail an NPC

Code: Select all

function hailed(NPC, Spawn)
	Knockback(NPC, Spawn, 5000, -8, 15)
end

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests