Category:Event: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: Events are ways to execute macros without direct user input. There are three kinds of events. - frame based events. These require a frame to be opened and are specified in the HTML h...)
 
No edit summary
(8 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.
* '''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.
* '''Real events:''' these are executed automatically ([[onCampaignLoad]], [[onInitiativeChange]], [[onInitiativeChangeRequest]], [[onTokenMove]], [[onMultipleTokensMove]]).
  - falke events. These are cunning workarounds to add events by macro that otherwise wouldn't be there.
* '''Fake events:''' these are cunning workarounds to add events by macro that otherwise wouldn't be there ([[onMouseOverEvent]]).
[[Category:Macro]][[Category:Macro Function]]

Revision as of 03:20, 21 June 2021

 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: