New LUA Item and Spell function

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 Item and Spell function

Post by Jabantiz » Tue Nov 26, 2013 6:05 pm

New function, proc, will be called when a proc triggers it does have slightly different syntax if it is called in an item or spell script.

For item scripts

Code: Select all

function proc(Item, Caster, Target, Type)
end
For spell scripts

Code: Select all

function proc(Caster, Target, Type)
end
Item = the item that has the proc
Caster = spawn that is casting the proc
Target = spawn that is the target of the proc
Type = the type of proc going off

User avatar
thefoof
Retired
Posts: 630
Joined: Wed Nov 07, 2012 7:36 pm
Location: Florida

Re: New LUA Item and Spell function

Post by thefoof » Tue Nov 26, 2013 6:07 pm

Server is really coming along :D

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests