Deleted2838758User Posted October 16, 2015 Share Posted October 16, 2015 (edited) I create a small mod where normal attacks consume stamina based on weight (by casting a damagestamina spell on the player). The spell works perfectly and I decided to create a small script to get the magnitude of the effect to make sure it is being calculated perfectly but the script doesn't work at all (the spell is working fine but the message never shows in-game Scriptname SH_GetMagnitudeDebug extends activemagiceffect Actor caster Actor target Float Magnitude Event OnEffectStart(Actor akTarget, Actor akCaster) target = akTarget caster = akCaster Magnitude = self.GetMagnitude() as int Debug.Notification(AkTarget as string + " Swung his weapon for " + Magnitude + " stamina cost") EndEvent Edited October 16, 2015 by Guest Link to comment Share on other sites More sharing options...
Recommended Posts