I need a simple script that will make a creature vanish after you have killed it.
Something about ifondeath = 1
disable
Yeah, and something about fading to black with a certain proximity.
Vanish script
Moderators: Haplo, Lead Developers
You mean like this? Creature dies,and its gone?
Code: Select all
begin vanish
short cvar
float timer
if (cvar == -1)
return
elseif (cvar == 0)
If (OnDeath == 1)
set cvar to 1
endif
elseif (cvar == 1)
FadeTo 100 2
set cvar to 2
elseif (cvar == 2)
set timer to timer+getsecondspassed
if (timer > 2)
set cvar to 3
set timer to 0
disable
endif
elseif (cvar == 3)
FadeTo 0 10
set cvar to -1
endif
end vanish
"Our vision is to recreate Tamriel in a way truthful to how Bethesda Softworks would have wanted it to look like by using TES lore."