New LUA Function: AddHate
Moderator: Team Members
- Xanibunib
- Retired
- Posts: 121
- Joined: Thu Mar 06, 2008 11:01 pm
- EQ2Emu Server: RENS
- Location: Colorado
Re: New LUA Function: AddHate
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)
AddHate(NPC* Player, Entity* Player, 100)
Village idiot...
- ZexisStryfe
- Posts: 1026
- Joined: Thu Jul 26, 2007 6:39 am
- EQ2Emu Server: Sytherian Legends
- Location: Connecticut
- Contact:
Re: New LUA Function: AddHate
On live healing 1 point of dmg = .5 hate
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Re: New LUA Function: AddHate
Couple months slow on that response, eh 3 of 6?ZexisStryfe wrote:On live healing 1 point of dmg = .5 hate
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.
- ZexisStryfe
- Posts: 1026
- Joined: Thu Jul 26, 2007 6:39 am
- EQ2Emu Server: Sytherian Legends
- Location: Connecticut
- Contact:
Re: New LUA Function: AddHate
SHUDDUP! 
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Re: New LUA Function: AddHate
Just sayin, poor Scatman has been hovering his mouse over the Save Script button since Dec waiting for input on that one!
~runs~
~runs~
- Scatman
- Retired
- Posts: 1688
- Joined: Wed Apr 16, 2008 5:44 am
- EQ2Emu Server: Scatman's Word
- Characters: Scatman
- Location: New Jersey
Re: New LUA Function: AddHate
I believe we have a designated spell scripter now! 
*redirects to Zcor*
*redirects to Zcor*
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Re: New LUA Function: AddHate
Oh contraire... Zcoretri has been sold into slavery in GFay as the Matron of the Nursery's bitch!
- Xanibunib
- Retired
- Posts: 121
- Joined: Thu Mar 06, 2008 11:01 pm
- EQ2Emu Server: RENS
- Location: Colorado
Re: New LUA Function: AddHate
Code: Select all
function Combat(NPC, Spawn)
AddHate(NPC, Spawn, 100)
endCode: Select all
SetSpawn(NPC, attackable, 1)Village idiot...
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Re: New LUA Function: AddHate
Scat, did we remove the damage component from AddHate()? I can't remember.
- Scatman
- Retired
- Posts: 1688
- Joined: Wed Apr 16, 2008 5:44 am
- EQ2Emu Server: Scatman's Word
- Characters: Scatman
- Location: New Jersey
Re: New LUA Function: AddHate
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?
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Re: New LUA Function: AddHate
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~
~spurt~
~sputter~
~spatter~
- Scatman
- Retired
- Posts: 1688
- Joined: Wed Apr 16, 2008 5:44 am
- EQ2Emu Server: Scatman's Word
- Characters: Scatman
- Location: New Jersey
Re: New LUA Function: AddHate
I didn't. Oops. Just leave it like that for now Xan, it'll work once I commit the code 
- Zcoretri
- Team Member
- Posts: 1642
- Joined: Fri Jul 27, 2007 12:55 pm
- Location: SoCal
Re: New LUA Function: AddHate
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 rangeScatman wrote:I believe we have a designated spell scripter now!
*redirects to Zcor*
I have put spell scripting on hold for the time being until LE can expand the capabilities of the server for more spells.
LOL...finished with that bitch just before I left for San DiegoJohn Adams wrote:Oh contraire... Zcoretri has been sold into slavery in GFay as the Matron of the Nursery's bitch!
Who is online
Users browsing this forum: No registered users and 0 guests


