Category:Event: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Categorizing Event category. Even as a stub, it is pretty useful.)
(Adding onInitiativeChange and onInitiativeChangeRequest to Real Events)
Line 5: Line 5:


* '''Frame based events:''' these require a frame to be opened and are specified in the HTML header of that frame ([[onChangeSelection]], [[onChangeImpersonated]], [[onChangeToken]]).
* '''Frame based events:''' these require a frame to be opened and are specified in the HTML header of that frame ([[onChangeSelection]], [[onChangeImpersonated]], [[onChangeToken]]).
* '''Real events:''' these are executed automatically ([[onCampaignLoad]], [[onTokenMove]], [[onMultipleTokensMove]]).
* '''Real events:''' these are executed automatically ([[onCampaignLoad]], [[onInitiativeChange]], [[onInitiativeChangeRequest]], [[onTokenMove]], [[onMultipleTokensMove]]).
* '''Fake events:''' these are cunning workarounds to add events by macro that otherwise wouldn't be there ([[onMouseOverEvent]]).
* '''Fake events:''' these are cunning workarounds to add events by macro that otherwise wouldn't be there ([[onMouseOverEvent]]).
[[Category:Macro]]
[[Category:Macro]]

Revision as of 18:32, 7 September 2020

 This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.

Events are ways to execute macros without direct user input.

There are three kinds of events: