How do I randomly spawn?

Just started using Construct 2? Post your questions here

Post » Sat Mar 21, 2015 10:54 am

Hello All,

How do you set a random spawn point that triggers upon something being destroyed?

Example: Upon monster destruction I want to spawn another monster at a random location.
B
4
Posts: 22
Reputation: 244

Post » Sat Mar 21, 2015 4:25 pm

system>> create object>> x: random(windowwidth) Y: random(windowheight)
Image
B
57
S
13
G
6
Posts: 271
Reputation: 12,063

Post » Mon Mar 23, 2015 11:27 am

Thanks!
B
4
Posts: 22
Reputation: 244


Return to Beginner's Questions

Who is online

Users browsing this forum: danispag and 1 guest