macroLink, getLibProperty, and timing

Discuss macro implementations, ask for macro help (to share your creations, see User Creations, probably either Campaign Frameworks or Drop-in Resources).

Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice

Post Reply
Sydious
Giant
Posts: 155
Joined: Sun Aug 21, 2011 2:27 am

macroLink, getLibProperty, and timing

Post by Sydious »

So I am trying to create a "turn" control system using macroLink.

Basically I am using a Lib:Token with a property called curPlayer. (1 - 4)

I have one macro that starts the "turn" and sets curPlayer to 1 and sends a macrolink to the 1st player in a list of conected players.

This triggers a dialog macro that they click a submit button on.

That submit click triggers a processing macro that sets the LibPropert curPlayer = curPlayer + 1,
Then fires a macro that sends the next player (based on curPlayer) a link.

I am finding what I perceive as a timing issue with the macroLink not getting the correct curPlayer value at the time it creates the link. Is this a known issue and I should quit barking up this tree? or is this odd behavior?

Post Reply

Return to “Macros”