Other macros which are modified for this feature :
libRQII/combatAction/addCombatLogEntry.rqm
libRQII/combatAction/updateCombatProactive.rqm
libRQII/eventHandler/onCampaignLoad.rqm
libRQII/locHpAp/updateAPHP.rqm
libRQII/sheetView/openSheet.rqm
libRQII/sheetView/viewSheet.rqm
sessionName is defined the campainDesc property of lib:RQII token on _Main_AE map.
In order to log an action on both the combatLog and the tokenLog the addCombatLogEntry macro must be called with an additional param set to 1.
As for example in the updateCombatProactive macro
[h, if (action == "firstCast"), code:{
[h: "<!-- We log also to the tokenLog -->"]
[h: addCombatLogEntry(tokenId,"proactiveAction",logMsg,logComment,"1")]
};{
[h: addCombatLogEntry(tokenId,"proactiveAction",logMsg,logComment)]
}]
Principles for the first version
No archiving at this stage :
Macros related to the feature ONLY :
Other macros which are modified for this feature :
sessionName is defined the campainDesc property of lib:RQII token on _Main_AE map.
In order to log an action on both the combatLog and the tokenLog the addCombatLogEntry macro must be called with an additional param set to 1.
As for example in the updateCombatProactive macro
Related wiki documentation :