DispelEffect

Prototype: GemRB.DispelEffect (globalID, EffectName, Parameter2)

Description: Removes all effects from target whose opcode and second parameter matches the arguments.

Parameters:

  • globalID - party ID or global ID of the actor to use
  • EffectName - effect reference name (eg. ‘State:Helpless’)
  • Parameter2 - parameter2 of targeted effect

Return value: N/A


Back to function index, GUIScript introduction.