• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

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: 29
Status
Not open for further replies.
Top