Difference between revisions of "Talk:GetMagnitude - ActiveMagicEffect"
Jump to navigation
Jump to search
imported>Terra Nova2 (Created page with "I was unable to get this to compile when pointing it to a MagicEffect type. Same deal with GetDuration. --~~~~") |
imported>Egocarib m |
||
Line 1: | Line 1: | ||
I was unable to get this to compile when pointing it to a MagicEffect type. Same deal with [[GetDuration - ActiveMagicEffect|GetDuration]]. --[[User:Terra Nova2|Terra Nova2]] ([[User talk:Terra Nova2|talk]]) 2014-10-12T11:37:11 (EDT) | I was unable to get this to compile when pointing it to a MagicEffect type. Same deal with [[GetDuration - ActiveMagicEffect|GetDuration]]. --[[User:Terra Nova2|Terra Nova2]] ([[User talk:Terra Nova2|talk]]) 2014-10-12T11:37:11 (EDT) | ||
<br>You have to use it on an ActiveMagicEffect type (which is actually a different type than MagicEffect). I've tested this and it compiles for me using SKSE 1.7.1. For instance you can try: | |||
<source lang="papyrus"> | |||
ActiveMagicEffect testEffect = NONE | |||
float testMag = testEffect.GetMagnitude() | |||
</source> | |||
and that should compile if you have the current SKSE source files. [[User:Egocarib|egocarib]] ([[User talk:Egocarib|talk]]) 2014-10-12T13:39:28 (EDT) |
Revision as of 12:39, 12 October 2014
I was unable to get this to compile when pointing it to a MagicEffect type. Same deal with GetDuration. --Terra Nova2 (talk) 2014-10-12T11:37:11 (EDT)
You have to use it on an ActiveMagicEffect type (which is actually a different type than MagicEffect). I've tested this and it compiles for me using SKSE 1.7.1. For instance you can try:
ActiveMagicEffect testEffect = NONE
float testMag = testEffect.GetMagnitude()
and that should compile if you have the current SKSE source files. egocarib (talk) 2014-10-12T13:39:28 (EDT)