I have different ships which dock in a harbor. They stand still, and when they're done, the cargo is gone and they go back to the river to leave the map.
When they're unloading their cargo, i want to have a "loading bar", which is made up of 4 squares stacked on each other. When all the 4 squares are red , then it's done unloading. The ship will leave, the image will dissappear.
But i can't seem to do it. So far i can only spawn the empty loader. I need to be able to change the image (fill the squares) until they are full.
I made an actor for the loading bar. But i can't access all the variables and counters i use in the boat class (which i need to trigger an image change) + it NEEDS to work for every individual ship that is docked.
Does anyone have an idea how i can access variables and stuff from other actors?
And how to make such a thing work?
Thanks in advance,

