Aller au contenu

Photo

Corpse not dissappearing


  • Veuillez vous connecter pour répondre
5 réponses à ce sujet

#1
Eagles Talon

Eagles Talon
  • Members
  • 107 messages
Greetings,

I seem to be having an issue with certain of the newer CEP creatures that once they are slain, their bodies say around forever.  The clean-up scripts do not remove them and even if fully looted the bodies remain.  Any suggestions?

#2
420

420
  • Members
  • 190 messages
I made a large number of the CEP creature blueprints. Which ones in particular are showing this problem? If the creature's OnSpawn script uses the SetIsDestroyable() function and the blueprint has the "Leaves Lootable Corpse" box checked that is probably the reason.

-420

#3
Eagles Talon

Eagles Talon
  • Members
  • 107 messages
Right off the top, most recent uses are: Elephants, Dire Elephants and Sabretooth Tigers (there are other older CEP creatures that have done the same thin, I just can't remember them at the moment). We are generally using Jaspers AI scripts for creatures and have not modified them much if at all. You now know everything I know about the problem. ;)

#4
Shadooow

Shadooow
  • Members
  • 4 470 messages
Jaspers' AI uses SetIsDestroyable in OnSpawn...

Modifié par ShaDoOoW, 23 mars 2011 - 11:57 .


#5
Eagles Talon

Eagles Talon
  • Members
  • 107 messages
Ok, so we want them to have lootable corpses as they drop hides for crafting and meat for food. What are the options? Can the script be changed to not have SetIsDestroable or is that an intregral part of the script? I know little of scripting (yet) but can probably modify with direction.

#6
kalbaern

kalbaern
  • Members
  • 824 messages
Try setting them in the OnSpawn event to: SetIsDestroyable(TRUE, FALSE, TRUE);

If other NPCs with hgh enough levels should be able to cast raise on them them set it as : SetIsDestroyable(TRUE, TRUE, TRUE);

Modifié par kalbaern, 24 mars 2011 - 02:05 .