DavidD Posted February 26, 2012 Share Posted February 26, 2012 Hey there! Does anyone know how to paralyze the player by using Papyrus? Say, if they hit a button they get paralyzed. I just can not get this to work Link to comment Share on other sites More sharing options...
Hjorr Posted February 28, 2012 Share Posted February 28, 2012 What about using the setrestrained command? Link to comment Share on other sites More sharing options...
DavidD Posted February 28, 2012 Author Share Posted February 28, 2012 That only makes it so that you can't move the camera or character though Link to comment Share on other sites More sharing options...
fg109 Posted February 28, 2012 Share Posted February 28, 2012 By button, do you mean a button on your keyboard, or an activator in the game? I'm not sure it's possible right now to create custom hot keys for your mods. If you mean an activator in the game, just have the activator cast a paralyze spell on whoever activates it. Link to comment Share on other sites More sharing options...
DavidD Posted February 28, 2012 Author Share Posted February 28, 2012 Activator in game. I know how to set everything up, just not the paralyze effect Link to comment Share on other sites More sharing options...
fg109 Posted February 28, 2012 Share Posted February 28, 2012 Try this: Scriptname YourActivatorScript extends ObjectReference Spell property Paralyze auto Event OnActivate(ObjectReference akActionRef) Paralyze.Cast(Self, akActionRef) EndEvent Link to comment Share on other sites More sharing options...
DavidD Posted February 29, 2012 Author Share Posted February 29, 2012 Try this: Scriptname YourActivatorScript extends ObjectReference Spell property Paralyze auto Event OnActivate(ObjectReference akActionRef) Paralyze.Cast(Self, akActionRef) EndEvent Of course! I'm so dumb I forgot about using Cast(). I can't do it now though. I'll report back later Link to comment Share on other sites More sharing options...
tonycubed2 Posted June 23, 2012 Share Posted June 23, 2012 Hi , Trying to get something similar to work, but I need a npc to cast it to the player. Please, if you can look at my script and give me any ideas? 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