transferCoverVBL: Difference between revisions
Jump to navigation
Jump to search
Cold Ankles (talk | contribs) (Added transferCoverVBL) |
Cold Ankles (talk | contribs) (Added transferCoverVBL) |
(No difference)
|
Latest revision as of 23:59, 10 February 2024
This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
transferCoverVBL() Function
Note: This function can only be used in a Trusted Macro
• Introduced in version 1.15
Directly transfers Cover VBL from token to the Cover VBL layer if
true
; otherwise, it transfers from the Cover VBL layer to the token's Cover VBL.Usage
transferCoverVBL(direction)
transferCoverVBL(direction, delete)
transferCoverVBL(direction, id)
transferCoverVBL(direction, delete, id)
Parameters
direction
- This value can be:0
transfer normal (red) Cover VBL to token (yellow) Cover VBL1
transfer token (yellow) Cover VBL to normal (red) Cover VBL
delete
- Defines if the transferred Cover VBL is deleted from the source.id
- OPTIONAL: The tokenid
of the token being acted upon. Defaults to the Current Token.
Examples
Example: Transfer Cover VBL from Token to Map
[h: transferCoverVBL(1, "Dragon")]
[h: transferCoverVBL(0)]
Example: Transfer Cover VBL from Map to current Token
[h: transferCoverVBL(0)]
Example: Clear Cover VBL from Token after transfer
[h: transferCoverVBL(1, 1)]