$mobid = npctypeid or the spawn#?
By lexicon it says that $mobid should be npctypeid, but when I do a quest::shout("I am number $mobid"); it is saying the npc# of the zone, not the npctype id.
Meaining, if there are 100 mobs in the zone, I spawn it it will say "I am number 101" Did this get changed? Is there a way to get it to be the npctypeid instead? Maybe another variable? |
$npcID = $npc->GetNPCTypeID();
|
Just added "..I am NPC $npcID or $npc"
all I see is "...I am NPC" |
He's saying do this:
Code:
$myID = $npc->GetNPCTypeID(); |
Gotcha, awesome! This worked, thanks.
Now just need to figure out the default.pl or whatever it is for the generic npc perl.(like player.pl) Have another thread in this forum discussing this. |
All times are GMT -4. The time now is 05:26 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.