• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! 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: 26
Status
Not open for further replies.
Top