Random region spawn

Status
Not open for further replies.
Level 3
Joined
Feb 12, 2020
Messages
34
Hey guys,

I need some help setting up a random region spawn. I want to achieve the following:

-Have an item (still have to make that item) spawn at a random location. I already set region(1)=spawnitem1 etc.
I just don't know how to do the next trigger. I looked up some links and they tell em to array the region variable. But it doesn't look like the picture anymore. Anyway, can someone make a testmap with a prebuild setup?

-I want the item to spawn at a random moment every 30-60 seconds of the game. So something like:
Every 30-60 seconds of the game, spawn X at random location between 1 and 33 (I have 33 possible regions).

I hope you can follow me. PLease help me out!

I thank you!
 

Attachments

  • Trigger1.PNG
    Trigger1.PNG
    30.7 KB · Views: 30
Status
Not open for further replies.
Top