03-18-2021, 10:20 AM
Hi,
That code here is counting the number of Disc owned by the mover in the stack at site 0. I think that's what you are looking for.
Regards,
Eric
That code here is counting the number of Disc owned by the mover in the stack at site 0. I think that's what you are looking for.
Code:
(count Stack
at:0
if:(= (id "Disc" Mover) (what at:(to) level:(level)))
)
Regards,
Eric