The npc sprite have an instance variable which called "task" and it is a text variable. This variable can be movetower or woodcutting or idle and so on...
So I need to set a global variable which include the total amount of idle npc. I have to count only the idle values.
I tried to use the pick by comparison and a few more fuction but these are not working. Can you write me an easy solution please?
Thanks in advance!