Aller au contenu

Photo

Decay Timer Permanent?


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

#1
Moranin

Moranin
  • Members
  • 5 messages
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

#2
Shadooow

Shadooow
  • Members
  • 4 471 messages
SetIsDestroyable to FALSE either in OnSpawn or OnDeath

#3
GhostOfGod

GhostOfGod
  • Members
  • 863 messages
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
Shadooow

Shadooow
  • Members
  • 4 471 messages
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
Moranin

Moranin
  • Members
  • 5 messages
Cheers!

#6
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages

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
GhostOfGod

GhostOfGod
  • Members
  • 863 messages
I was waaaaay over thinking this. haha. I'm going to blame it on my flu.