I've been working with C2 on a game and i want it to randomly choose an action every 2 seconds ... See the picture:
<img src="http://i.imgur.com/RbQXM9m.png" border="0" />
I know it isn't hard but i haven't discovered it yet ..
It'd be great if someone can help. :)
if you have the personal edition of construct you could put the objects in a family and just create the family..
if not, you need a variable , set it to int(random(0,3))
and make events to check the variable
Develop games in your browser. Powerful, performant & highly capable.
LittleStain .. I don't have a personal edition :/
But i don't get the other part .. I've tried to do it but it becomes 0 (Both global variable and Instance variable) ..
Can you explain a bit further?
you can simply activate group A or B or C,
<img src="http://www.dropbox.com/s/dsr4hxw59wua0n9/run%20random%20action.png" border="0" />
I don't think i am doing very good ..
I've done this:
<img src="http://i.imgur.com/9TXJqVZ.png" border="0" />
But only the green ones appear .. What should i change?
EDIT : Oh ghost .. I didn't see the image .. I will try.
ANOTHER EDIT : Thank you very much ghost for the picture .. It's working perfectly.