Skip to content
Justin Schwartz edited this page Jun 27, 2020 · 4 revisions

detach

  • ACE Directive*

Defines a code block for extra code to use during MM_DETACH. End the block with $#enddetach

Valid Syntax

  • $#detach
  • $#detach type

Parameters

type

(Optional)

first or last. by default, last.

"first" code is executed after interfaces are unregistered, but before any other actions. "first" code is not called after a $failattach() directive.

"last" code is executed after everything is cleaned up except dependency pointers and per-arena-data. dynamic per-player-data will already be freed by this point. this code will be called after a $failattach() directive.

Clone this wiki locally