Power button
jimmyraynor
Member Posts: 22
Hi all,
In the cannon template, you can click anywhere to power up the cannon. How do you create a button to click on to power up the cannon?
Thanks!
In the cannon template, you can click anywhere to power up the cannon. How do you create a button to click on to power up the cannon?
Thanks!
Comments
Right now, the rule for the cannon is..."if mouse button is down (anywhere), power up and fire"
I created a separate button actor, so I want the player to click on the button to power up and fire.
I need to specify the mouse position to be on the button, but how do I do that?
Mouse position only gives the option of inside or outside..not on a specific actor.
What do you mean by, "if key is down" rule.
Maybe i'm making this more complicated than it should be...