Hello,
I was wondering if it was at all possible to create a script that would make a dead NPC's Decay Timer never run out?
Moranin
Decay Timer Permanent?
Débuté par
Moranin
, janv. 19 2011 11:16
#1
Posté 19 janvier 2011 - 11:16
#2
Posté 20 janvier 2011 - 01:00
SetIsDestroyable to FALSE either in OnSpawn or OnDeath
#3
Posté 20 janvier 2011 - 02:00
While on this subject, how would you then make it so that the corpse is destroyed if clicked on(has no loot) or if the loot is taken from it? This is one of those things I've just never known about.
#4
Posté 20 janvier 2011 - 02:44
Well if you want that creature to have loot, forget this approach. This is usefull for creating environment, like dead bodys in area or to save resources (dead NPC do not run any scripts) with later ressurect.
#5
Posté 20 janvier 2011 - 03:05
Cheers!
#6
Posté 20 janvier 2011 - 03:53
GhostOfGod wrote...
While on this subject, how would you then make it so that the corpse is destroyed if clicked on(has no loot) or if the loot is taken from it? This is one of those things I've just never known about.
This sounds to be the default behavior if you set the creature to leave a lootable corpse in the toolset. If you are leaving bodybags then you can adjust the scripts on each bags blueprint to do what you want.
#7
Posté 20 janvier 2011 - 04:31
I was waaaaay over thinking this. haha. I'm going to blame it on my flu.





Retour en haut






