I really need help!

Status
Not open for further replies.

Liutenantpickle

L

Liutenantpickle

I really need help!

Anyone knows how to make Random Spawn points on
Multiple Regions?


Please reply. :ogre_rage:
 
I am so sorry.. I'm just a noob in World edit. D: Can you please explain it to me a basicER way? :D
 
Okay, create a region Array:

reg.JPG


Then use a random Region by Choosing a random index for the array.

  • Actions
    • Unit - Create 1 Footman for Player 1 (Red) at (Random point in Region_Array[(Random integer number between 0 and 3)]) facing Default building facing degrees
You also have to set the Regions before in some init trigger, but I think you can do that.
 
Umm.. I have 16 regions for the Spawn points.
Does it have to be [(Random integer number between 0 and 16)] ?
 
Hmm.. It doesn't work for me. It keeps respawning in the middle of the map. any solution?
 
I don't meant the difference between "quantity", what I meant was difference in "array referencing" where you should do math random number between 0 ~ 16 but instead, you did 1 ~ 16, it's wrong (this situation occurs if your starting array number is [0], if it's [1], it should work fine)
 
Hmm.. Does the "Action Trigger" comes after the "Set Spawn point" or Before?
I'm confused @-(
 
Status
Not open for further replies.
Back
Top