• Tutorials

  • Home
  • ProcessSpellTargetOverride

    When the player selects a spell to be cast and selects a target (either a map location or a combatant), we call this hook named “OverrideSpellTargeting” and it can return a title and a list of options that the player can choose from. Whatever the player chooses will be provided the the hook named “ProcessSpellTargetOverride”.

    Parameters

    Parameter[1] = default title that will appear on the list - this can be changed
    Parameter[5] = option chosen in OverrideSpelltargeting script

    Context

    The Spell
    Attacker (a combatant)
    Caster (a combatant)

    Search Order

    The spell being cast.

    Return Value

    Ignored