Difference between revisions of "Talk:Magic effect scripts"

Jump to navigation Jump to search
136 bytes added ,  13:35, 15 July 2008
imported>Innominate
imported>Haama
Line 43: Line 43:


Is there any function you can use to determine who cast a scripted spell? I'm thinking something I can use like "Set casterRef To <function>", so I can generalise a spell to be able to be used by NPCs as well as the player. [[User:Innominate|Innominate]] 02:49, 15 July 2008 (EDT)
Is there any function you can use to determine who cast a scripted spell? I'm thinking something I can use like "Set casterRef To <function>", so I can generalise a spell to be able to be used by NPCs as well as the player. [[User:Innominate|Innominate]] 02:49, 15 July 2008 (EDT)
:Use a combination of [[GetScriptActiveEffectIndex]] and [[GetNthActiveEffectCaster]].--[[User:Haama|Haama]] 14:35, 15 July 2008 (EDT)
Anonymous user

Navigation menu