Jump to content
⚠ Known Issue: Media on User Profiles ×

Getting SKSE's GetMagnitude() function to work


BuggerBurger

Recommended Posts

I seem to have trouble with SKSE's GetMagnitude() function ( http://www.creationkit.com/GetMagnitude_-_ActiveMagicEffect ) to work with my spells. self.GetMagnitude() and GetMagnitude() always returns 0.00000

 

Heres an incredibly basic example script that I'm working with

 

 

 
Scriptname ArexonEnchDragonsouls extends activemagiceffect  
 
Event OnEffectStart(Actor akCaster, Actor akTarget)
 
Float Damage = GetMagnitude() * akCaster.GetAV("DragonSouls")
 
debug.Notification(self.GetMagnitude())
 
akTarget.DamageAV("Health",Damage)
 
endEvent
 
Link to comment
Share on other sites

  • Recently Browsing   0 members

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