(Keeps Hive Alive)
Go Back   The Hive Workshop - A Warcraft III Modding Site > Warcraft III Modding > World Editor Help Zone

World Editor Help Zone Need help with Blizzard's World Editor? Ask general questions about its features and use in this forum. README!

Reply
 
LinkBack Thread Tools Display Modes
Old 07-18-2008, 02:56 AM   #1 (permalink)

Mapmaker Hopeful
 
Join Date: Jul 2008
Posts: 4

Spindrift is an unknown quantity at this point (0)


Trigger Help

I need help making a trigger:
When the game starts, I want to remove all nonplaying units. Meaning: If a color slot is not taken, I would like to remove all pre-placed units and buildings that are under the control of the player.
Spindrift is offline   Reply With Quote
Old 07-18-2008, 03:18 AM   #2 (permalink)
Spell and Map Moderator
 
Dr Super Good's Avatar

The Helpful Personage
 
Join Date: Jan 2005
Posts: 4,269

Dr Super Good is a name known to all (691)Dr Super Good is a name known to all (691)Dr Super Good is a name known to all (691)Dr Super Good is a name known to all (691)


Ok I have no idea why this is off topic. . .

Moved to World Editor Help Zone.

Basically, on event map init, you loop though all players and remove thir units if thier slot status (a condition) is equal to not playing.
Dr Super Good is offline   Reply With Quote
Old 07-18-2008, 03:22 AM   #3 (permalink)
 
Ribenamania's Avatar

I'm ready !
 
Join Date: May 2008
Posts: 555

Ribenamania is on a distinguished road (81)Ribenamania is on a distinguished road (81)


It's deadly easy ...
Events
Map initialization
Conditions
Actions
For each (Integer A) from 1 to 12, do (Actions)
Loop - Actions
If ((((Player((Integer A))) slot status) Equal to Has left the game) or (((Player((Integer A))) slot status) Equal to Is unused)) then do (Unit Group - Pick every unit in (Units in (Playable map area) owned by (Player((Integer A)))) and do (Unit - Remove (Picked unit) from the game)) else do (Do nothing)
Ribenamania is offline   Reply With Quote
Old 07-18-2008, 04:15 AM   #4 (permalink)
Spell and Map Moderator
 
Dr Super Good's Avatar

The Helpful Personage
 
Join Date: Jan 2005
Posts: 4,269

Dr Super Good is a name known to all (691)Dr Super Good is a name known to all (691)Dr Super Good is a name known to all (691)Dr Super Good is a name known to all (691)


Ribenamania, That leaks 1 unit group for evey player that is missing.
Dr Super Good is offline   Reply With Quote
Old 07-18-2008, 05:47 AM   #5 (permalink)
 
Ribenamania's Avatar

I'm ready !
 
Join Date: May 2008
Posts: 555

Ribenamania is on a distinguished road (81)Ribenamania is on a distinguished road (81)


XD ..yea
Ribenamania is offline   Reply With Quote
Reply

Bookmarks

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 On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trigger Spells - The Elusive Any Unit Takes Damage Trigger NazT Triggers & Scripts 9 03-22-2006 12:13 AM
Trigger Question (COMPLEX) Need Master Trigger Experts ONLY! The Prophet of Bread Map Development 5 01-18-2005 11:01 PM
Pro trigger makers needed: urgent help for hard trigger imported_Bort Map Development 11 10-06-2004 02:42 AM
[Trigger Help] Bugged set name trigger, other ways ? Help ! TheProof Map Development 7 07-16-2004 07:56 AM

All times are GMT. The time now is 07:35 AM.






Your link here 
Credit Cards | Web Advertising | Wholesale Silver Jewelry | Watch Anime Online | McDonalds
Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Copyright©Ralle