AK said: That would be awesome! I had an epiphany earlier tonight at PFS to use a workaround, but a pop up would be so much cooler. What I have been doing is makeing the maps a couple of squares larger than the map at hand to provide a little buffer room. What I tried and found to mostly work tonight was to make the map much "taller" than required and to put the images at the bottom. This way, my projector still shows just the map as desired, but when I want to show a cool shot or the pic of the BBEG I can shit-click on the image to force player views to center there. I then repeat back up to the map. It mostly works and my players loved having a big pic of the monster to look at rather than a pawn or the traditional GM holding up the scenario printout which has a small pic on it. Problem was trying to move back to exactly where they were before if it is in mid combat or some other situation where free moving around is not permitted. Try this and see how the concept works: // mapScaleAvatar.js
on('ready',function(){
'use strict';
var getCleanImgsrc = function (imgsrc) {
var parts = imgsrc.match(/(.*\/images\/.*)(thumb|med|original|max)(.*)$/);
if(parts) {
return parts[1]+'thumb'+parts[3];
}
return;
};
on('chat:message',function(msg){
if('api' === msg.type && msg.content.match(/^!msa/) && playerIsGM(msg.playerid) ){
_.chain(msg.selected)
.map( s => getObj('graphic',s._id))
.reject(_.isUndefined)
.map( t => {
return {
token: t,
character: getObj('character',t.get('represents'))
};
})
.reject( o => _.isUndefined(o.character))
.reject( o => ('' === o.character.get('avatar')))
.reject( o => (' '=== getCleanImgsrc(o.character.get('avatar'))))
.each( o => {
let g= createObj('graphic',{
subtype: 'token',
isdrawing: true,
imgsrc: getCleanImgsrc(o.character.get('avatar')),
left: o.token.get('left'),
top: o.token.get('top'),
width: (o.token.get('width')*10),
height: (o.token.get('height')*10),
pageid: o.token.get('pageid'),
layer: 'objects'
});
toFront(g);
});
}
});
});
Select a token(s) and execute the command: !msa For each selected token, if they have an avatar and it's in a User Library, it will create a graphic on the objects layer above everything else that is the avatar of that token, scaled x10 and centered on the token: When you're done sharing, just delete it. If that works out, I'll see about making a more complicated and interesting version. =D