Category:Event: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
(added onMouseOver link, onChangeMap)
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{stub}}
Events are ways to execute macros without direct user input.  
Events are ways to execute macros without direct user input.  


There are three kinds of events.
There are three kinds of events:


* frame based events. These require a frame to be opened and are specified in the HTML header of that frame (onChangeSelection, onChangeImpersonated).
* '''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]],[[onChangeMap]], [[onMouseOver]]).
* 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 Function]]
'''This is not complete yet! Work in progress'''

Latest revision as of 15:47, 12 February 2024

 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: