Thanks Shen I did not realize that was there, now its book marked lol. And Kay are you talking about using
Code:
quest::setglobal Code:
sub EVENT_DEATH_COMPLETE{ |
So, you have multiple NPC ID's for both Gnolls and Orcs. You would like to keep track of the deaths of them in only two zones (currently).
That's my understanding. Do you wish to give credit for the kills if no experience is yielded? What if groups go out killing them? You only wish for the one with the final blow to get the credit? |
Its a controlled event, blackburrow and crushbone, every orc/gnoll, level 10 PC max(is not a concern as there is a zone autoboot script already in place), personal credit is not a priority. Its living vs undead and when you are undead you play as undead gnolls raiding crushbone. as the living you play as orcs raiding blackburrow.
My simplistic version is to just keep track of orc and gnoll deaths, and broadcast them to their own zone. What I really wanted was, every gnoll death whether it be PC or NPC acted as a gnoll kill etc etc. The dwarves were all changed to orcs to make it easier on the default script. |
Anyone care to tell me why this default.pl does not work, yet when I assign it to an NPC it works fine?
Code:
sub EVENT_DEATH_COMPLETE{ |
Do ALL the NPCs you're trying to use that on have their 'qglobal' column set to '1' in 'npc_types'?
|
yea I used navicat and had them all set
|
Hmm, pretty weird, didn't look at the code, but I'll get back to you on something, message me on Skype (Kingly.krab).
|
Ok so I got it to work as a default script... only issue is it does not work with all the npcs in the zone. There is no other scripts other than mine in the zone file. Orcs and gnolls globally, all share the same script when dying, the only issue is I cant find it. I looked in the global file and nothing. Are there hard coded scripts when they die they automatically say those things that will superceed my default file?
Code:
sub EVENT_DEATH_COMPLETE{ |
All times are GMT -4. The time now is 09:47 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.