setTokenMBL

From RPTools Wiki
Revision as of 04:28, 5 June 2023 by Azhrei (talk | contribs) (Oops, forgot the description :))
Jump to navigation Jump to search

 This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.

setTokenMBL() Function

 Note: This function can only be used in a Trusted Macro

Introduced in version 1.12
Stores a shape that acts as MBL onto a token for use by the AI pathing algorithm.

Usage

setTokenMBL(shapeArray, id)

Parameters

  • jsonarray -
  • id - OPTIONAL: The token to add the BML to. Defaults to Current Token.

For a description of the parameters, see drawMBL().


See Also