Register for free, and make this box disappear!

Welcome to the BF Forums! Register Now, It's Free!


Welcome to the BF Forums; your source for the latest and greatest video game news, strategies, discussions, and resources. Join over 60,000 like-minded gamers from around the world to chat about your interests in our community.

You are currently viewing the forums as a guest user, which limits your access to certain content, contests, downloads, and more. By joining our free community, you will be able to respond in discussions/articles, contact members privately (PM), participate in regular-scheduled contests, see less advertisements, and have access to many other features. Registration is quick, easy, and completely free.



Have your questions answered. Share your thoughts about a topic. Take 2 minutes, Register Now!
BattleForums.com Forums > Major Games > Warcraft > Warcraft Maps and Modifications

We're Half-Way There!! - BF Lotto: $50 Ebay or Amazon Gift Card - A Single Click is All It Takes...

Reply
 
Thread Tools Display Modes
Old 12-17-2005, 04:21 PM   #1 (permalink)
BattleForums Junior Member
 
Aaron7772's Avatar
 
Join Date: Aug 2005
Location: At My Location
Age: 19
Posts: 139
Random Starting Location?

How do you make it so that your starting location randomly spawns somewhere on the map? I need it to spawn randomly, but not within like 500 feet of another person ( everyone is unallied ) You only start with units, no buildings, so it could be in water. Help
Aaron7772 is offline   Reply With Quote
Alt Heute
Advertising

Beitrag Sponsored Links

__________________
Ads suck! Take 2 minutes to register for your free account, and GET RID OF THESE ADS!
   
Old 12-17-2005, 05:18 PM   #2 (permalink)
BattleForums Member
 
Father_Chaos's Avatar
 
Join Date: Nov 2005
Posts: 364
I think you just cannot create starting locations with triggers... They have to be placed directly in the editor.
__________________

Is this the end of all we know - innocence lost so long ago;
Woven in dreams - the darkest of schemes now takes hold of our destiny...
Decades of greed, plague, famine and war - we can't go on like this anymore;
Living like fools - chaos will rule this eternal paradise...


A Fool's Paradise - Symphony X

:corn Join the Image Puzzle game ! :corn
Father_Chaos is offline   Reply With Quote
Old 12-18-2005, 03:15 AM   #3 (permalink)
Aya Matsuura is awesome
 
x42bn6's Avatar
 
Join Date: Nov 2002
Location: Trieste, Friuli-Venezia Giulia
Age: 20
Posts: 15,144
Quote:
Originally Posted by Aaron7772
How do you make it so that your starting location randomly spawns somewhere on the map? I need it to spawn randomly, but not within like 500 feet of another person ( everyone is unallied ) You only start with units, no buildings, so it could be in water. Help
Try this. But it will not be a melee map.

Events
Melee Initialization

Actions
Unit - Move [Starting position of [Player 1]] to [Random point on [Entire map]]
Repeat for each player
Melee Game - Create starting units for players

Note that this places the starting locations in positions you might not want, such as in front of creeps, on islands (!) and on badly made terrains where the units have nowhere to move (!!).*
__________________
* Hang on a second...

Diablo III has been announced!

Here's what you need to do: Register a new account and tell the world what you think of this game.

Tell the damned world. The world wants to know.
x42bn6 is offline   Reply With Quote
Old 12-18-2005, 07:51 AM   #4 (permalink)
BattleForums Member
 
Father_Chaos's Avatar
 
Join Date: Nov 2005
Posts: 364
Quote:
Originally Posted by x42bn6
Try this. But it will not be a melee map.

Events
Melee Initialization

Actions
Unit - Move [Starting position of [Player 1]] to [Random point on [Entire map]]
Repeat for each player
Melee Game - Create starting units for players

Note that this places the starting locations in positions you might not want, such as in front of creeps, on islands (!) and on badly made terrains where the units have nowhere to move (!!).*
Is [Starting position of [Player 1]] a trigger function?
__________________

Is this the end of all we know - innocence lost so long ago;
Woven in dreams - the darkest of schemes now takes hold of our destiny...
Decades of greed, plague, famine and war - we can't go on like this anymore;
Living like fools - chaos will rule this eternal paradise...


A Fool's Paradise - Symphony X

:corn Join the Image Puzzle game ! :corn
Father_Chaos is offline   Reply With Quote
Old 12-18-2005, 11:21 AM   #5 (permalink)
BattleForums Junior Member
 
Aaron7772's Avatar
 
Join Date: Aug 2005
Location: At My Location
Age: 19
Posts: 139
I dont have to worry about in a place i dont want, there are no creeps, there might put in an island but i dunno, everyone would go to the island to build since its...well you know...an island.
Aaron7772 is offline   Reply With Quote
Old 12-21-2005, 03:03 AM   #6 (permalink)
Aya Matsuura is awesome
 
x42bn6's Avatar
 
Join Date: Nov 2002
Location: Trieste, Friuli-Venezia Giulia
Age: 20
Posts: 15,144
Quote:
Originally Posted by Father_Chaos
Is [Starting position of [Player 1]] a trigger function?
Unit - Move Unit (instantly)*
__________________
* Hang on a second...

Diablo III has been announced!

Here's what you need to do: Register a new account and tell the world what you think of this game.

Tell the damned world. The world wants to know.
x42bn6 is offline   Reply With Quote
Old 12-23-2005, 02:42 AM   #7 (permalink)
[F-Zero Fanatic]
 
Chris's Avatar
 
Join Date: May 2003
Location: Phantom Road
Age: 22
Posts: 15,539
IF you want percise locations. You will need more locations, and possibly a random number function. It will generate a number between 1 and the maximum number of locations. If there are no units at that location, then generate the units at location (x). This will require triggers based on the number of locations that will do this.
__________________


The Purpose of DTD is not to show off how good you are.
But to do an insane flying move and landing at 3000 km/h.
Hopefully, without crashing into something or flying off in the process.


Kurisu - Zy-el Sorceress - Level 41 of 10000

NezMod Server Forums - The Mod breathes on!
Chris is offline   Reply With Quote
 
Reply

« AI Help | Building respawning »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT -4. The time now is 09:19 PM.



Powered by vBulletin® Version 3.7.2 | Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0