drawCoverVBL: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Added drawCoverVBL)
 
(Copy/Paste foolishness)
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
</syntaxhighlight>
</syntaxhighlight>


This function works EXACTLY the same as {{func|eraseCoverVBL}} with the ONLY difference that drawCoverVBL draws the shapes on the Hill Vision Blocking Layer and {{func|eraseCoverVBL}} erases them.
This function works EXACTLY the same as {{func|eraseCoverVBL}} with the ONLY difference that drawCoverVBL draws the shapes on the Cover Vision Blocking Layer and {{func|eraseCoverVBL}} erases them.


'''Parameters'''
'''Parameters'''
{{param|shapesList|A [[JSON Array]] of [[JSON Object|JSON objects]], one of the latter for each Hill VBL shape. See {{func|drawVBL}} for a complete description of possible shapes}}
{{param|shapesList|A [[JSON Array]] of [[JSON Object|JSON objects]], one of the latter for each Cover VBL shape. See {{func|drawVBL}} for a complete description of possible shapes}}


|also=
|also=

Latest revision as of 23:59, 10 February 2024

drawCoverVBL() Function

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

Introduced in version 1.15.0
Draws Cover Vision Blocking Layer (Cover VBL) shapes.

Usage

drawCoverVBL(shapeArray)

This function works EXACTLY the same as eraseCoverVBL() with the ONLY difference that drawCoverVBL draws the shapes on the Cover Vision Blocking Layer and eraseCoverVBL() erases them.

Parameters


See Also