The ExplodeSpell function makes a reference cast the given touch range spell at itself. If an area effect touch range spell is used, this can make the reference “explode”. See the TrapProjScript, shown in the tips and trick section on the Arrow trap.