Jump to content

Recommended Posts

Posted

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

Posted
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.
Posted

Try this:

 

Scriptname YourActivatorScript extends ObjectReference

Spell property Paralyze auto

Event OnActivate(ObjectReference akActionRef)

Paralyze.Cast(Self, akActionRef)

EndEvent

Posted

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

  • 3 months later...
Posted

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...