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 video game news, strategies, discussions, and resources. Join over 66,000 like-minded gamers 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. Whatever your game interest may be, you'll find information here where people realize that games are more than just poker online.


Have your questions answered. Share your thoughts about a topic. Take 2 minutes, Register Now!
BattleForums.com Blizzard Gaming Forums > Warcraft > Warcraft General > 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 09-13-2004, 01:09 AM   #1 (permalink)
BattleForums Junior Member
 
Join Date: Aug 2004
Location: alaska
Age: 25
Posts: 106
units spawn?

how do i make a certain unit spawn from a certain building and make them have a spawn duration??
Ducati is offline   Reply With Quote
Beitrag Sponsored Links

__________________
Ads suck! Take 2 minutes to register for your free account, and GET RID OF THESE ADS!
Old 09-13-2004, 03:35 AM   #2 (permalink)
BattleForums Addict
 
Darimus's Avatar
 
Join Date: Oct 2003
Posts: 681
2 Triggers: 1. Unit Group - Pick every unit of type ("certain building")

and do: unit - create 1 ("certain unit") at unit (position of unit (picked unit)) for (owner of (Picked unit))



trigger 2. [event: unit enters region] unit enters playable map area
condition: unit type of triggering unit equal to "certain unit"

actions: wait "spawn duration (like 30.00)"
unit - remove (entering unit)
Darimus is offline   Reply With Quote
Old 09-14-2004, 07:16 PM   #3 (permalink)
 
Chris's Avatar
 
Join Date: May 2003
Location: Temple Prime, Sarajevo
Age: 22
Posts: 16,127
I have been trying to figure that out for my Death match map I am creating. But Darimus, what if the location is not a building but a region on the map. How do I set that up?
__________________



One Vision. One Purpose.
Through leadership in Kane, we seek a new Tiberium future.
Our stealth and advanced weaponry will bring swift death to any who oppose us.
PEACE THRU POWER!


Warlock-Rauteus - Zy-el Necromancer - Level 143 of 10000

My Personal Blog Page - Updated every Friday
Join the Phantasy Star Online sensation - ChrisH36
Chris is online now   Reply With Quote
Old 09-14-2004, 09:54 PM   #4 (permalink)
BattleForums Addict
 
Darimus's Avatar
 
Join Date: Oct 2003
Posts: 681
Here's how i'd do yours Hellwolf

Make a Region Array variable, in the start trigger. Set the variables (like Spawn[1] = your region 1, spawn[2] = etc)

then do For each integer A from 1 to (the amount of regions, set this number manually)

Do: Unit - Create 1 (unit) for (player you want to have it) at Region [A]

... or you can make an invisible unit and place it at every spot you wanted, then do the easier trigger that i posted earlier, for the thread starter
Darimus is offline   Reply With Quote
Old 09-15-2004, 05:22 PM   #5 (permalink)
 
Chris's Avatar
 
Join Date: May 2003
Location: Temple Prime, Sarajevo
Age: 22
Posts: 16,127
Thanks, now I can respawn the items after they been picked up. I guess a shade that flys will do as the unti spawn
__________________



One Vision. One Purpose.
Through leadership in Kane, we seek a new Tiberium future.
Our stealth and advanced weaponry will bring swift death to any who oppose us.
PEACE THRU POWER!


Warlock-Rauteus - Zy-el Necromancer - Level 143 of 10000

My Personal Blog Page - Updated every Friday
Join the Phantasy Star Online sensation - ChrisH36
Chris is online now   Reply With Quote
Old 09-15-2004, 06:06 PM   #6 (permalink)
BattleForums Senior Member
 
Aragorn7's Avatar
 
Join Date: Jul 2003
Location: At My Computer, Where Else?
Posts: 3,911
You can also have items that were dropped respawn at their locations when they are picked up after x seconds.

Like, say a unit drops an item and it is picked up. 20 seconds later you can have it spawn again if you wish. You just have to set an event up that catches the "hero" picking the item up. Then you just do a simple "wait" trigger to wait until a certain time has elapsed.

I love the War3 map tools, they are so powerful.
__________________
Trigun Episode 9 - Murder Machine

Passengers: Damn that thing is heavy!
Wolfwood: Thats because its so full of mercy.

http://www.animezen.net/gallery/imag...n/trigun50.jpg
Aragorn7 is offline   Reply With Quote
Old 09-16-2004, 02:17 AM   #7 (permalink)
 
Chris's Avatar
 
Join Date: May 2003
Location: Temple Prime, Sarajevo
Age: 22
Posts: 16,127
That would require either a region or an item there at the start. Either way, you still need regions to create the triggers.
__________________



One Vision. One Purpose.
Through leadership in Kane, we seek a new Tiberium future.
Our stealth and advanced weaponry will bring swift death to any who oppose us.
PEACE THRU POWER!


Warlock-Rauteus - Zy-el Necromancer - Level 143 of 10000

My Personal Blog Page - Updated every Friday
Join the Phantasy Star Online sensation - ChrisH36
Chris is online now   Reply With Quote
Old 09-26-2004, 05:11 AM   #8 (permalink)
BattleForums Junior Member
 
Join Date: Aug 2004
Location: alaska
Age: 25
Posts: 106
Could u plzzzz show me how the entire could would look?
Ducati is offline   Reply With Quote
Old 09-26-2004, 05:30 AM   #9 (permalink)
BattleForums Junior Member
 
Join Date: Aug 2004
Location: alaska
Age: 25
Posts: 106
actions: wait "spawn duration (like 30.00)"
unit - remove (entering unit)
and by (entering unit) do u mean the units that will be spawning??
Ducati is offline   Reply With Quote
Old 10-04-2004, 05:08 PM   #10 (permalink)
 
Chris's Avatar
 
Join Date: May 2003
Location: Temple Prime, Sarajevo
Age: 22
Posts: 16,127
Entering unit refers to the unit that has entered range or comes into that location or was created there.
__________________



One Vision. One Purpose.
Through leadership in Kane, we seek a new Tiberium future.
Our stealth and advanced weaponry will bring swift death to any who oppose us.
PEACE THRU POWER!


Warlock-Rauteus - Zy-el Necromancer - Level 143 of 10000

My Personal Blog Page - Updated every Friday
Join the Phantasy Star Online sensation - ChrisH36
Chris is online now   Reply With Quote
Old 10-11-2004, 09:56 PM   #11 (permalink)
BattleForums Junior Member
 
Join Date: Aug 2004
Location: alaska
Age: 25
Posts: 106
i can't find the ''wait'' scroll down??
Ducati is offline   Reply With Quote
Old 10-11-2004, 10:12 PM   #12 (permalink)
BattleForums Junior Member
 
Join Date: Aug 2004
Location: alaska
Age: 25
Posts: 106
so the entering unit would be my ''certain unit'' right??
Ducati is offline   Reply With Quote
 
Reply

Get rid of all these ads! Take 30 seconds to register.

« 2 questions | Music Problem »

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 +1. The time now is 06:14 AM.



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