IETS - v0.5.1
    Preparing search index...

    Function ForceSpellPoint

    BG2 barrel re-exports.

    Generated by ts-update. Do not edit manually.

    Uses named re-exports (not export *) so esbuild can statically resolve each binding without falling back to runtime __reExport helpers for externalized .d.ts modules.

    • This action causes the active creature to cast the specified spell at the specified point ([x.y]). The spell need not currently be memorised by the caster, and will not be interrupted while being cast. The caster must meet the level requirements of the spell. For the RES version of the action, the spell name can not consist of only numbers, should be written in upper case and should be no more than 7 characters long.

       IF
         Global("AndrisBehavior","AR1009",0)
         See(NearestEnemyOf(Myself))
       THEN
         RESPONSE #100
           ForceSpellPoint([2002.1554],WIZARD_DIMENSION_DOOR)
           Wait(1)
           SpellNoDec(NearestEnemyOf(Myself),WIZARD_CONFUSION)
           SetGlobal("AndrisBehavior","AR1009",1)
       END
      

      {% capture note %}

      • Scripts can handle RES filenames with +, Dialogs and the console cannot. Same with the ~, `, ', @, $, ^, and & characters, maybe some more.
      • This action will default to a spell matching the first 7 characters in Dialogs/Console IF the 8th character isn't valid.
      • If CastingLevel = 0, then the action will use Caster Level. {% endcapture %} {% include note.html %}

      Parameters

      Returns Action