nathanielsaysblah Posted February 10, 2012 Share Posted February 10, 2012 Hi. So I am adding a script to reanimate zombie to be able to resurrect more, but everytime first time I activate the spell the player's carryweight reduces by 100? it only does it the first time here's the code Scriptname RaiseDragon extends activemagiceffect {extends} Spell property reanimateSpell AutoFaction property PlayerFaction Auto Event OnEffectStart(Actor akTarget, Actor akCaster) akTarget.resurrect() akTarget.RemoveFromAllFactions() akTarget.AddToFaction(PlayerFaction) EndEvent Link to comment Share on other sites More sharing options...
porroone Posted February 10, 2012 Share Posted February 10, 2012 What is PlayerFaction here ? something you created or something engine based ? Link to comment Share on other sites More sharing options...
nathanielsaysblah Posted February 11, 2012 Author Share Posted February 11, 2012 (edited) What is PlayerFaction here ? something you created or something engine based ? it adds the creature to the player's faction, engine based Edited February 11, 2012 by nathanielsaysblah Link to comment Share on other sites More sharing options...
Recommended Posts