Djinni Wiki
Advertisement

function SetupSpellTrigger (object oTrigger, object oSpellCaster, int nSpellID, float fEnergy, float fEnergyFadeRate, int nNumCharges, string sTrapLabel)

Configures trigger spawned from spell.

  • oSpellCaster: spell caster (creature)
  • nSpellID: spellID
  • fEnergy: initial spell energy points
  • fEnergyFadeRate: spell energy fade rate (pts/sec)
  • nNumCharges: number of trap charges -
  • sTrapLabel: trap label in traps.2da
  • Return type: void
  • Include file: nwscriptdefn
Advertisement