Latest version | 11.0.0 |
---|---|
Minimum Core | 10 |
Compatible Core | |
Last updated | 1 week ago |
Created | 7 months ago |
Authors |
|
Languages |
English |
Systems | All systems |
Project source | Project URL |
You can apply a macro to a door. You can trigger this macro when the door is:
Open a door's config and enter the macro editor placed in the header (door icon). If the macro needs to do things only a GM is allowed to do, like toggle lights for example, you can set the macro to be executed as GM. This will cause the macro to find the first active GM available and execute it as them. If not set to be executed as GM, the macro is executed as the user who changed the state of the door.
Door Macro.
Apply macro directly to the door.
In addition, there is now WallDocument#callMacro(type="never", options={})
, which can be used to execute an arbitrary script embedded on the Door manually. The types are "whenOpened", "whenClosed", "whenLocked", "whenUnlocked", "whenHidden", "whenRevealed", and "never", the last of which is never executed automatically.
To install this package, open your Foundry Setup screen and navigate to your Module tab and click the Install Module button.
From there, you can either search for the package unique name: doormacro or copy its manifest URL:
And paste it to the input box at the bottom of your window.
You can install this package directly to your Forge account.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Advertisement cookies are used to deliver visitors with customized advertisements based on the pages they visited before and analyze the effectiveness of the ad campaign.