Spawing Random object on Start Of layout

Get help using Construct 2

Post » Tue Jan 13, 2015 8:34 am

I've got an array called objects
contains say monster 1 and monster 2

I've 2 objects setup called monster1 and monster 2

How would I pick a random monster from the array and display on the screen at the start of the layout.


Thanks
B
3
Posts: 7
Reputation: 189

Post » Tue Jan 13, 2015 11:21 am

You would need to create an if statement picking the correct monster.

OR you could put all monsters in a family and pick a random family member.
Bruno

I like to eat, but I'm no cook. Why liking to play games would make you a game designer?
B
20
S
6
G
3
Posts: 637
Reputation: 3,776


Return to How do I....?

Who is online

Users browsing this forum: Cubeeo and 13 guests