Function: Interrupt(caster, target)
Description:
Interrupts casting on the supplied entity target from the current spell context. Requires an available caster and a valid entity target; GM-protected targets are rejected. The current native validation rejects an omitted target.
Parameters:
caster(Spawn) - Spawn causing the interruption.target(Spawn) - Required entity to interrupt.
Returns: None.
Original spell targets: When this function uses a spell's target list, it snapshots references to the originally selected actor allocations. It skips unavailable or departed targets instead of selecting another actor with a reused runtime ID. Accepted actors remain physically retained through the active protected callback, including Lua errors; saved userdata and target records do not keep them alive between callbacks. Explicit Spawn arguments retain their existing selection behavior. See Lua actor lifetime.