11-14-2020, 08:55 AM
Hi,
One possible issue I see is that you've defined MoveInTurn with an argument as follows:
(define "MoveInTurn" #1)
but then you call it like this:
(then ("SetInfluence" (+ "MoveInTurn" "MoveFinished")))
Since the define has an argument #1, then probably you need to bracket it and pass a value in, like a function, e.g.:
(then ("SetInfluence" (+ ("MoveInTurn" 1) "MoveFinished")))
or:
(then ("SetInfluence" (+ ("MoveInTurn" Mover) "MoveFinished")))
or:
(then ("SetInfluence" (+ ("MoveInTurn" ~) "MoveFinished")))
where the ~ indicates "not used" for a parameter.
In general, it's safer to bracket ALL defines to scope them, even if they don't have arguments, just to be sure.
Or maybe you meant to write:
(define "MoveInTurn" 1) ???
Regards,
Cameron
One possible issue I see is that you've defined MoveInTurn with an argument as follows:
(define "MoveInTurn" #1)
but then you call it like this:
(then ("SetInfluence" (+ "MoveInTurn" "MoveFinished")))
Since the define has an argument #1, then probably you need to bracket it and pass a value in, like a function, e.g.:
(then ("SetInfluence" (+ ("MoveInTurn" 1) "MoveFinished")))
or:
(then ("SetInfluence" (+ ("MoveInTurn" Mover) "MoveFinished")))
or:
(then ("SetInfluence" (+ ("MoveInTurn" ~) "MoveFinished")))
where the ~ indicates "not used" for a parameter.
In general, it's safer to bracket ALL defines to scope them, even if they don't have arguments, just to be sure.
Or maybe you meant to write:
(define "MoveInTurn" 1) ???
Regards,
Cameron