
I'm trying to set up macros for a system that uses Action Points (pretty much exactly like Bravely Default, for those familiar). I'm trying to use the Turn Order window to keep track of the points.
When a character does a move, it should subtract a point. Currently included in the macro for the character's move is:
[[1 &{tracker:-} ]]
And this is functioning mostly how I want it to. It subtracts a point from the selected token in the Turn Order window. But this will work fine for players, who can only select their own token.
Then I want to have a global controller that adds a point to everyone at the start of a round, but I'm having trouble getting it to work. I want it to affect everyone listed in the Turn Order window, but I can't seem to even find any documentation on such a thing. I then decided to try at least writing out every unit's name in the macro with a command to increase it by 1, but it won't work either. Where the character's name is Bombas:
[[ @{Bombas} 1 &tracker:+]]
I receive two errors.
"No attribute was found for @{Round|Bombas}"
"SyntaxError: Expected "(", ".", "[", "abs(", "ceil(", "d", "floor(", "round(", "t", "{", [ |\t], [+|\-] or [0-9] but "R" found."
I just started learning today and I barely know what these mean. As I understand it, it's trying to find an attribute belonging to Round (the name of the controller) called "Bombas," rather than adding 1 to the tracker for Bombas. And then I guess there's something else wrong but I don't know what.
When a character does a move, it should subtract a point. Currently included in the macro for the character's move is:
[[1 &{tracker:-} ]]
And this is functioning mostly how I want it to. It subtracts a point from the selected token in the Turn Order window. But this will work fine for players, who can only select their own token.
Then I want to have a global controller that adds a point to everyone at the start of a round, but I'm having trouble getting it to work. I want it to affect everyone listed in the Turn Order window, but I can't seem to even find any documentation on such a thing. I then decided to try at least writing out every unit's name in the macro with a command to increase it by 1, but it won't work either. Where the character's name is Bombas:
[[ @{Bombas} 1 &tracker:+]]
I receive two errors.
"No attribute was found for @{Round|Bombas}"
"SyntaxError: Expected "(", ".", "[", "abs(", "ceil(", "d", "floor(", "round(", "t", "{", [ |\t], [+|\-] or [0-9] but "R" found."
I just started learning today and I barely know what these mean. As I understand it, it's trying to find an attribute belonging to Round (the name of the controller) called "Bombas," rather than adding 1 to the tracker for Bombas. And then I guess there's something else wrong but I don't know what.