Pretty much what the title says, I've created a hostile "Possessed Fighter" and upon his death, I want a "Ghastly Wraith" to spawn at his location. Scripts not being my strong side, but if it's possible, any help is appreciated. Still rather new at the whole scripting thing.
Spawn creature upon death?
Débuté par
Legacy_of_Wrex
, sept. 30 2012 11:18
#1
Posté 30 septembre 2012 - 11:18
#2
Posté 30 septembre 2012 - 11:51
Just replace "resref" with the resref of your wraith (make sure to keep the quotation marks) and put this in the fighter's OnDeath slot:
void main()
{
CreateObject(OBJECT_TYPE_CREATURE, "resref", GetLocation(OBJECT_SELF));
}
Modifié par Squatting Monk, 30 septembre 2012 - 11:51 .
#3
Posté 04 octobre 2012 - 09:10
Thanks alot, I'll try it immediatly!





Retour en haut







