Difference between revisions of "Script:Door Knocker"
From Roll20 Wiki
Andreas J. (Talk | contribs) (Created page with "{{revdate}}{{#evp:youtube|JaRF9LhhPcc|Door Knocker API (Nov 8, 2020) |right|700}} {{main|API:Script Index}} '''Door Knocker''' helps quickly open and close doors by controlli...") |
Andreas J. (Talk | contribs) m (→Related Pages) |
||
(5 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | {{revdate}}{{#evp:youtube| | + | {{revdate}}{{#evp:youtube|hpR3PHu__jI|Opening & Closing Doors via the DoorKnocker (Nov 5, 2021) (Nick O.) |right|700}} |
{{main|API:Script Index}} | {{main|API:Script Index}} | ||
+ | |||
+ | {{orange|The recent release of [[One-Way Barrier]] might have caused bugs for the API, as some "hacks" might no longer work -''April 2022''}} | ||
'''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.]] | '''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.]] | ||
Line 7: | Line 9: | ||
** [https://app.roll20.net/forum/post/7698809/script-door-knocker/ older thread] | ** [https://app.roll20.net/forum/post/7698809/script-door-knocker/ older thread] | ||
* {{repo|Roll20/roll20-api-scripts/tree/master/Door%20Knocker sourcecode}} | * {{repo|Roll20/roll20-api-scripts/tree/master/Door%20Knocker sourcecode}} | ||
− | + | * [https://app.roll20.net/forum/post/10818048/udl-doorknocker-and-windows udl-doorknocker-and-windows issues] April 2022 | |
− | + | ||
==Using Door Knocker== | ==Using Door Knocker== | ||
Line 21: | Line 22: | ||
<pre>!knock --keyWord|option1|option2|...</pre> | <pre>!knock --keyWord|option1|option2|...</pre> | ||
− | + | {{#evp:youtube|JaRF9LhhPcc|Door Knocker Tutorial (Nov 8, 2020) |right|700}} | |
− | + | ||
{{ex}} | {{ex}} | ||
open/closes all doors withing range: | open/closes all doors withing range: | ||
Line 31: | Line 31: | ||
=Related Pages= | =Related Pages= | ||
− | * [[ | + | * [[Window]] |
+ | * [[Door]] | ||
+ | * [[Walls]] | ||
+ | * [[One-Way Barrier]] | ||
[[Category:User API Scripts]] | [[Category:User API Scripts]] | ||
+ | [[Category:API User Documentation]] | ||
+ | [[Category:API Commands]] | ||
[[Category:Dynamic Lighting]] | [[Category:Dynamic Lighting]] | ||
+ | [[Category:Maps]] |
Latest revision as of 13:59, 23 April 2022
Page Updated: 2022-04-23 |
Main Page: API:Script Index
The recent release of One-Way Barrier might have caused bugs for the API, as some "hacks" might no longer work -April 2022 |
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.
- Door Knocker v1.211 - Windows(Forum)
- sourcecode
- udl-doorknocker-and-windows issues April 2022
[edit] 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.
[edit] 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)