Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 06-05-2009, 11:58 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default Altering NPC body type?

I know you can alter NPC race or stats with quest.
But I need to alter body type.

I have an npc which starts out as body type 11 (untargetable) and I need to switch it to 1 (normal) once npc recives a quest signal.

any idea how to alter the body type?

I belive this was used in MANY LIVE raid scripts I just can't seem to find any exmaples

alternativly - ability to set/unset NPC special ability flag with quest? So i can make him Immune to Melee/Spells to begin with, but then remove it when signal is recieved.
Reply With Quote
  #2  
Old 06-06-2009, 12:10 AM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

The emperor in ssra starts out as untargetable then becomes targetable. it is done by having two entries in the db... one of each type. The untargetable one despawns right after spawning the targetable one in the perl. Not sure if it's possible to change those values on the same npc on the fly and have it work.
__________________
The Realm
Reply With Quote
  #3  
Old 06-06-2009, 12:42 AM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

Quote:
Originally Posted by Congdar View Post
The emperor in ssra starts out as untargetable then becomes targetable. it is done by having two entries in the db... one of each type. The untargetable one despawns right after spawning the targetable one in the perl. Not sure if it's possible to change those values on the same npc on the fly and have it work.
yeah I know of that method - but spawning a copy feel kind of cheap =)

It just we recently had a new quest comand added which allows to alter NPC stats on the fly- so why not body type and ability flags?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 12:32 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3