Jump to content

eb113

Members
  • Posts

    3
  • Joined

  • Last visited

Nexus Mods Profile

About eb113

Profile Fields

  • Country
    Italy

eb113's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Thanks a lot to both of you for the answers, it now works!!!
  2. The script is for a magic effect that is then linked to an enchant for the weapon that should fire the spell once swinged, could it be a problem with the flags? EDIT: i checked the properties and everything is fine, the one thing that i don't understand is how attach this effect even to my character, since is something that should be tied only to the weapon
  3. Hello guys, i recently started with papyrus scripting and i really need help with a script that won't work. What i'm trying to do right now is casting a heal on my character every time he swings with a weapon. I'mputting the script here so if anyone can tell me what i'm doing wrong it will be very helpful ScriptName MyScript Extends ActiveMagicEffect Spell property HealingRightHand Auto Actor SelfRef Event OnEffectStart(Actor akTarget, Actor akCaster) SelfRef = akCaster RegisterForAnimationEvent(SelfRef, "weaponSwing") EndEvent Event OnEffectFinish(Actor akTarget, Actor akCaster) EndEvent Event OnAnimationEvent(ObjectReference akSource, string EventName) If (eventName == "weaponSwing") HealingRightHand.cast(SelfRef, SelfRef) EndIf EndEvent
×
×
  • Create New...