wazwolf Posted December 30, 2013 Share Posted December 30, 2013 I know this should be simple, but I'm lost for now. I want to make a change to the "Fire Wolf" summon. This is the original script. It is the spell that explodes when the wolf charges after an enemy. But I'm trying to make two changes. One, I don't want it to harm friendlies, only hostiles. Two, I don't want it to blow up the caster when enemies are out of range (which is mostly moot if #1 works). Scriptname spellSummonDraugrBomb extends ACTOR EXPLOSION PROPERTY fireballExplosion AUTOEffectShader Property AtronachUnsummonDeathFXS AutoBOOL doOnce=TRUEEVENT onLoad() utility.wait(5) IF(doOnce && SELF.is3DLoaded()) SELF.placeAtMe(fireballExplosion) doOnce = FALSE utility.wait(0.1) disable() utility.wait(0.5) delete() ENDIF ENDEVENTEVENT onHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked) IF(doOnce) SELF.placeAtMe(fireballExplosion) doOnce = FALSE utility.wait(0.1) disable() utility.wait(0.5) delete() ENDIFENDEVENT EVENT onDying(actor myKiller) AtronachUnsummonDeathFXS.Play(self) ENDEVENT Link to comment Share on other sites More sharing options...
Recommended Posts