Have actor change image of other actor?
Rolento
Member Posts: 9
I just want to make a button actor that changes the image of another actor when you click it. How do I get this to work?
I just started with gamesalad coming from gamemaker and was trying to self learn this. Thanks in advance.
I just started with gamesalad coming from gamemaker and was trying to self learn this. Thanks in advance.
Comments
I'd explain here but I am pretty sure I remember seeing some posts for such and no use re-inventing the wheel and/or cluttering up the forums further.
[off to see if I can find one for you...]
http://gamesalad.com/forums/topic.php?id=2965#post-16468
and be sure to read:
http://gamesalad.com/forums/topic.php?id=2939&replies=7#post-16504
as it shows that image name string concatenation can be used in the expression editor for image name.
The variables are global and seem to be working but when I press my button the image of the other actor dosnt even want to change
Did you wrap it in a timer to check for change ever-so-often?
it was that I was using "TRUE" instead of "true" .... -_-