tonycubed2 Posted June 23, 2012 Share Posted June 23, 2012 Greetings, In my mod I am having some ambushers wear special armor that when hit will paralyze the player 20% of the time. All triggers fine and executes but the player is never paralyzed. Any thoughts? Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, \ bool abBashAttack, bool abHitBlocked) PlayerRef = Game.GetPlayer() Debug.Notification("You hit silver!") if akAggressor == PlayerRef howfar = Game.GetPlayer().GetDistance(Self) ; if howfar < 150 && DeadlyWeapons.GetStage() != 40 If RandomInt() > 70 PlayerRef = Game.GetPlayer() Debug.Notification ("The Silver Armor is Blessed... You are Paralyzed!!!") Paralyze.Cast(Self, akAggressor) placeAtMe(DA10ReanimateExplosion) stuck.play(PlayerRef) DeadlyWeapons.SetStage(30) EndIf EndIf ; ;mySpell.Cast(getLinkedRef(), actronaut) EndIf EndEvent Link to comment Share on other sites More sharing options...
Recommended Posts