Difference between revisions of "ScriptEffectStart"
Jump to navigation
Jump to search
imported>Jaguar (Clarified my added note about the order of processing) |
imported>DragoonWraith (removed annoyingly large and completely unnecessary note (see Talk page)) |
||
Line 3: | Line 3: | ||
Special block type used only by Magic Effect scripts. This block will run on the first iteration of a scripted spell effect. | Special block type used only by Magic Effect scripts. This block will run on the first iteration of a scripted spell effect. | ||
The fact that Script Effect Spells run on whoever has been hit by the spell, basically gives the programmer the ability to apply a script on any Actor in the game for a period of time, and can be used for getting Actor reference and many other effects. | The fact that Script Effect Spells run on whoever has been hit by the spell, basically gives the programmer the ability to apply a script on any Actor in the game for a period of time, and can be used for getting Actor reference and many other effects. |
Revision as of 20:08, 29 June 2006
Usage
begin ScriptEffectStart
Special block type used only by Magic Effect scripts. This block will run on the first iteration of a scripted spell effect.
The fact that Script Effect Spells run on whoever has been hit by the spell, basically gives the programmer the ability to apply a script on any Actor in the game for a period of time, and can be used for getting Actor reference and many other effects.
Note: When a scripted effect is used as a weapon enchantment effect, the effect will take place AFTER the weapon hits (ie. The weapon damage will occur before the scripted effect). This means the the scripted effect can be used for soul trap like effects that need to occur after death.