Thread: npcid command
View Single Post
  #1  
Old 12-08-2006, 10:28 AM
bufferofnewbies
Hill Giant
 
Join Date: Dec 2005
Location: Lurking in KY
Posts: 239
Default npcid command

currently $mobid returns an entityID (changes each spawn cycle, since its a track of current spawns i believe) instead of NPCID.

Is there a command variable to identify the npcid of a mob for the purpose of effects like quest::castspell(npcid, spell id). I currently have npcs that are requiring a conditional casting, but with the number of them created: I was rather hoping to find a variable instead of making a new pl file for each npc. Adding the spell to their spelllist in hopes they cast it at the proper times isnt a real option due to the nature of the spell's intent.

reason behind it:
Im trying to get an unconscious npc to cast a long duration Feign Death upon spawning and quest::doanim(16) just doesnt seem to work.
(I believe that is due to the emotes currently being bugged on 0.7.0)
Reply With Quote