The EventSpellCastAt() NWScript command creates an OnSpellCastAt event to be sent to a creature, door, or placeable, indicating that the specified spell has been cast by the specified creature at the object receiving the event. This function only creates the event; to actually trigger the event, this function's return value must be passed to SignalEvent(). This function does not cause a spell to be cast. Rather, it is intended to be used to notify the target of a spell about the spell as it is cast (technically, immediately after it is cast), usually from within the spell's script.
Graph IRI | Count |
---|