Difference between revisions of "Magic effect scripts"
Jump to navigation
Jump to search
m
→Notes: GameMode == ScriptEffectUpdate ''within a scripted spell''
imported>DragoonWraith (→Notes: fixed the list, added note about other blocktypes) |
imported>DragoonWraith m (→Notes: GameMode == ScriptEffectUpdate ''within a scripted spell'') |
||
Line 23: | Line 23: | ||
<li>For scripted abilities, a new instance of the script is created each time the player enters the cell with the affected actor.</ul> | <li>For scripted abilities, a new instance of the script is created each time the player enters the cell with the affected actor.</ul> | ||
Other bizarre results have yet to be confirmed or explained. A workaround is to add a scripted item to the actor's inventory. | Other bizarre results have yet to be confirmed or explained. A workaround is to add a scripted item to the actor's inventory. | ||
<li>Magic effect scripts are not necessarily limited to the three blocktypes above. [[MenuMode]], for example, will work, and [[GameMode]] is identical to [[ScriptEffectUpdate]].</ul> | <li>Magic effect scripts are not necessarily limited to the three blocktypes above. [[MenuMode]], for example, will work, and [[GameMode]] is identical to [[ScriptEffectUpdate]] from within a scripted spell.</ul> | ||
==See Also== | ==See Also== |