Difference between revisions of "Script:Door Knocker"
From Roll20 Wiki
Andreas J. (Talk | contribs) m |
Andreas J. (Talk | contribs) m |
||
Line 34: | Line 34: | ||
[[Category:User API Scripts]] | [[Category:User API Scripts]] | ||
+ | [[Category:API User Documentation]] | ||
+ | [[Category:API Commands]] | ||
[[Category:Dynamic Lighting]] | [[Category:Dynamic Lighting]] | ||
[[Category:Maps]] | [[Category:Maps]] |
Revision as of 10:56, 18 February 2022
Page Updated: 2022-02-18 |
Main Page: API:Script Index
Door Knocker helps quickly open and close doors by controlling the dynamic lighting lines. It can also produce windows, to block movement without blocking sight. Created by Scott C.
Using Door Knocker
The script will move Dynamic Lighting lines used as doors to the map layer and make them transparent, opening the door. It determines what is a door and a wall based on the stroke color of the polygon and will only open doors within 1 square (default 70px) of the door knocker token.
A In-game handout contains full instructions.
Basic Command Syntax
The script uses a standardized API command syntax. All Door Knocker commands will begin with !knock. This will then be followed by a space a double dash preceding a keyword and options group. This looks like this:
!knock --keyWord|option1|option2|...
Example:
open/closes all doors withing range:
!knock --push|toggle|range
All Commands: See in-game handout, or Door Knocker v1.211 - Windows(Forum)