GetSpellCastItem()
Determines the object that caused the spell script to be called.
object GetSpellCastItem();
Description
Returns the object that cast the spell that the spell script is being executed for.
Remarks
Strickly used in scripts that resolve a spells or spell abilities effects, this function should not be used unless you are modifying how existing spells or spell abilities (scripted by BioWare and the scripts are found in scripts.bif) are implemented.
On a side note to change the scripting of a spell one could modify the BioWare scripts for a spell or spell ability (eg. NW_S0_FLMSTRIKE for Flame Strike) and save that script within the module (or Hakpak).
Currently there is no way (that the documenter knows) to add additional spells or spell abilities, just overriding existing ones.
Version
1.22
See Also
categories: | Spells Functions |
author: Tom Cassiotis
Send comments on this topic.