The PageFX effect can be turned off and on with the interdiction symbol. You can toggle that with TokenMod using the ! modifier: !token-mod --set statusmarkers|!interdiction However, I'm not sure that PageFX will notice that change since it comes from the API. If you modify the PageFX script, change this at line 387 // Whenever a property of a PageFX token is changed, update its effect.
on('change:graphic', function(obj) {
if(obj.get('name') === 'PageFX') {
// A PageFX token's "interdiction" status marker (the one that
// looks like a "NO, you can't do this!" sign) can be used to
// toggle its fx on and off.
if(obj.get('status_interdiction'))
deactivateEffect(obj);
else
_try(function() {
activateEffect(obj);
});
}
});
to this: // Whenever a property of a PageFX token is changed, update its effect.
function handleTokenChange(obj) {
if(obj.get('name') === 'PageFX') {
// A PageFX token's "interdiction" status marker (the one that
// looks like a "NO, you can't do this!" sign) can be used to
// toggle its fx on and off.
if(obj.get('status_interdiction'))
deactivateEffect(obj);
else
_try(function() {
activateEffect(obj);
});
}
}
on('change:graphic', handleTokenChange);
on('ready',()=>{
if('undefined' !== typeof TokenMod && TokenMod.ObserveTokenChange){
TokenMod.ObserveTokenChange(handleTokenChange);
}
});
It should then do the right thing when TokenMod changes the interdiction symbol.