• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 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!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

[Trigger] ranbom starting loaction

Status
Not open for further replies.
Level 13
Joined
Sep 24, 2007
Messages
1,023
well i was wondering if it was possible to to make people have different place where they start because i made the starting buildings for all the players and i was wondering if you could ranbomly give them all the buildings at one spot so that no one says that one team is rigged
 
Level 6
Joined
Aug 16, 2007
Messages
213
Yes ithink its posible:
  • Events: time elapsed is equal to .10
  • Conditions:/
  • Actions: Move <Start loc>(pick like player red start location) to random point in playeble map area
And create this for each player. Im not sure if this will work because the starting units are already maded, because of delay town hal will get moved, but the pesants will stay at the old position... if it wont work try to change event or something. or create the region at starting location, and than trigerit the same as prevous trigger only that you pick evry unit it that rect and move it to random point... i hope this helps :)
 

Dr Super Good

Spell Reviewer
Level 63
Joined
Jan 18, 2005
Messages
27,156
Easy, all it needs is arrays storing the locations (as objects or X/Y) of all the places the buildings can go for all spots. Then you randomly choose the spots for each player. Finaly you create the buildings at the locations matching the type of building and the spot.

Such a system should take 30 minutes to make atmost (including setting up).
 
Level 2
Joined
Feb 2, 2008
Messages
10
Create each base where you want it, then with Triggers pick a variable between 1-12 (each player gets his own number), then have each base labelled as a number. Each player gets a random number in the picking, and therefore a random base. Pan the camera to their base. Easy. Just make sure you delete all the triggers that are Default-ly made when you open World Editor!
 
Status
Not open for further replies.
Top