EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   Altering NPC body type? (https://www.eqemulator.org/forums/showthread.php?t=28475)

ChaosSlayerZ 06-05-2009 11:58 PM

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.

Congdar 06-06-2009 12:10 AM

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.

ChaosSlayerZ 06-06-2009 12:42 AM

Quote:

Originally Posted by Congdar (Post 171423)
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?


All times are GMT -4. The time now is 01:07 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.