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

attach

  • ACE Directive*

Defines a code block for extra code to use during MM_ATTACH. End the block with $#endattach

Valid Syntax

  • $#attach
  • $#attach type

Parameters

type

(Optional)

first or last. by default, first.

"first" code is executed before callbacks, advisers, commands, and dynamic per-player-data is set up for the arena. use $failattach() in an "attach-first" block only.

"last" code is executed after callbacks, advisers, commands, and dynamic per-player-data is set up for the arena. however, it is still executed before interface implementations are registered for the arena. $failattach() is not allowed in an "attach-last" block.

Clone this wiki locally