Page 2 of 2

Posted: Sun Dec 14, 2008 4:44 pm
by Scatman
Hmm OK I guess I'll just have to accept the fact that heals have less than a 1:1 ratio :P I wish they'd tell us how much exactly.

Re: New LUA Function: AddHate

Posted: Wed Apr 01, 2009 10:53 am
by Xanibunib
For the sake of just getting an NPC to attack me, would this be the correct way to use this function?

AddHate(NPC* Player, Entity* Player, 100)

Re: New LUA Function: AddHate

Posted: Wed Apr 01, 2009 11:24 am
by ZexisStryfe
On live healing 1 point of dmg = .5 hate

Re: New LUA Function: AddHate

Posted: Wed Apr 01, 2009 11:38 am
by John Adams
ZexisStryfe wrote:On live healing 1 point of dmg = .5 hate
Couple months slow on that response, eh 3 of 6? :D

Xan, I think any amount of hate will do. .00001 (exaggerated). If the NPC hates you even kinda, they should come try and kick your ass.

Re: New LUA Function: AddHate

Posted: Wed Apr 01, 2009 3:33 pm
by ZexisStryfe
SHUDDUP! :P

Re: New LUA Function: AddHate

Posted: Wed Apr 01, 2009 3:52 pm
by John Adams
Just sayin, poor Scatman has been hovering his mouse over the Save Script button since Dec waiting for input on that one!

~runs~

Re: New LUA Function: AddHate

Posted: Wed Apr 01, 2009 4:05 pm
by Scatman
I believe we have a designated spell scripter now! ;)

*redirects to Zcor*

Re: New LUA Function: AddHate

Posted: Wed Apr 01, 2009 4:13 pm
by John Adams
Oh contraire... Zcoretri has been sold into slavery in GFay as the Matron of the Nursery's bitch!

Re: New LUA Function: AddHate

Posted: Wed Apr 01, 2009 5:12 pm
by Xanibunib

Code: Select all

function Combat(NPC, Spawn)
	AddHate(NPC, Spawn, 100)
end
does not result in the NPC attacking me... :? i also tried to set a

Code: Select all

SetSpawn(NPC, attackable, 1)
in there befor the AddHate because the NPC is unattackable to start with but didnt change anything

Re: New LUA Function: AddHate

Posted: Wed Apr 01, 2009 5:22 pm
by John Adams
Scat, did we remove the damage component from AddHate()? I can't remember.

Re: New LUA Function: AddHate

Posted: Wed Apr 01, 2009 5:28 pm
by Scatman
There was never a damage component to add hate (the LUA function at least). I was supposed to make mobs aggro you if you taunted them and didn't damage them. I guess I never committed those?

Re: New LUA Function: AddHate

Posted: Wed Apr 01, 2009 5:38 pm
by John Adams
Beats the hell out of me. So much shit falls through the cracks of my overwhelmed, oozing memory... I have no idea what anything does anymore.

~spurt~
~sputter~
~spatter~

Re: New LUA Function: AddHate

Posted: Wed Apr 01, 2009 5:47 pm
by Scatman
I didn't. Oops. Just leave it like that for now Xan, it'll work once I commit the code :oops:

Re: New LUA Function: AddHate

Posted: Thu Apr 02, 2009 10:24 pm
by Zcoretri
Scatman wrote:I believe we have a designated spell scripter now! ;)

*redirects to Zcor*
I'm here and alive...using someones unsecured wireless at the moment, hehe. Still don't have my Desktop setup yet. Have to add a wireless router and wireless NIC in my desktop, since wired LAN is not possible to the upstairs where i'm staying. Gonna get some 802.11n device for the extended range :)

I have put spell scripting on hold for the time being until LE can expand the capabilities of the server for more spells.
John Adams wrote:Oh contraire... Zcoretri has been sold into slavery in GFay as the Matron of the Nursery's bitch!
LOL...finished with that bitch just before I left for San Diego