I am wondering if there are any connect events for when you have a game running. I'd like to perform actions when a player connect. Brief motd, maybe force them to map and/or view space/zoom.
I've reviewed the wiki and didn't seem to find anything like that, do they exist? Is there a trick to catch anything like that.
One thing I have noticed is that when a player connects the onCampaignLoad startup message I have shows up on their side so guessing they at least get that? Is there a way to capture that and somehow move them to map?
Any connect events?
Moderators: dorpond, trevor, Azhrei
Forum rules
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior.
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior.
Re: Any connect events?
I've actually just run some experiments in the campaingload macro.
I was able to [if(isGM()): "gm action";"pc action"] during that process and it worked. Could send GM to one map and the PC to another.
I was able to [if(isGM()): "gm action";"pc action"] during that process and it worked. Could send GM to one map and the PC to another.
Re: Any connect events?
Yup, OCL is the way to go. You can use the bag of tricks if you like which has some features in that regard.
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS