[Log in / Register]
| News | Chat | Pastebin | Donations | Tutorials | Rules | Forums |
| Maps | Skins | Icons | Models | Spells | Tools | Jass | Packs | Hosted Projects | Starcraft II Modding | Starcraft II Resources | Galaxy Wiki |
(Keeps Hive Alive)
Go Back   The Hive Workshop > Warcraft III Modding > Map Development


Map Development Discuss your developing maps. Release beta tests and get useful feedback before the final release. If your map is fully complete or is a late Beta, then it can be uploaded directly to our Maps Section. Otherwise, attach the map to your post. This is NOT a forum to ask questions about the Editor!

Closed Thread
 
Thread Tools
Old 09-02-2004, 12:15 PM   #1 (permalink)
Registered User Ar@knID
User
 
Join Date: Sep 2004
Posts: 2
Ar@knID is an unknown quantity at this point (0)
Triggering a Victory when a building is destroyed

hey,

Im like.. making this new map for me and my friends, and Ive done lots of trigegrs without help, but now I really need some help. it's like this:

Ive made a big castle with 500 000 HP, and its called "Victory!" , and when its destroyed the map schould end. now my problem is: how do I get the map to end and let the killer of the castle be victorious???


thanks for any help.
__________________
Don't mess with the spiders

My maps: http://www.wc3sear.ch/?p=Maps&Authors=Ar@knID
Ar@knID is offline  
Old 09-02-2004, 01:13 PM   #2 (permalink)
Registered User coolguy5678
User
 
Join Date: May 2004
Posts: 6
coolguy5678 has little to show at this moment (1)
This should work.

victory
Events
Unit - Victory! <gen> Dies
Conditions
Actions
Game - Victory (Owner of (Killing unit)) (Show dialogs, Show scores)
Player Group - Pick every player in (All enemies of (Owner of (Killing unit))) and do (Game - Defeat (Picked player) with the message: Defeat!
coolguy5678 is offline  
Old 09-02-2004, 01:20 PM   #3 (permalink)
Registered User DarkShadow
User
 
DarkShadow's Avatar
 
Join Date: May 2004
Posts: 1,432
DarkShadow has little to show at this moment (7)
Hm, if all the other players should be defeated, use this trigger:

Events
Unit - A unit dies
Conditions
(dying unit) equal to [the castle]
Actions
Game - Victory (Owner of killing unit)
Player Group - Pick every player in (All players matching ((Owner of killing unit) not equal to (Matching player))) and do actions
  • Actions
    Game - Defeat (Picked player)

didn't test it, but I think it should work
__________________
"I just can't debug with "blah blah" for some reason..." Panto
The Machina Terra Project for Freespace 2 SCP
DarkShadow is offline  
Old 09-02-2004, 02:59 PM   #4 (permalink)
Registered User Ar@knID
User
 
Join Date: Sep 2004
Posts: 2
Ar@knID is an unknown quantity at this point (0)
THX ;)

I got it up and running now I think :)
__________________
Don't mess with the spiders

My maps: http://www.wc3sear.ch/?p=Maps&Authors=Ar@knID
Ar@knID is offline  
Closed Thread

Bookmarks

Thread Tools

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 Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[model] destroyed car Gallin Requests 4 04-19-2008 06:09 PM
[Victory/Defeat] When Farm is Destroyed neogaidenx World Editor Help Zone 5 02-08-2008 05:14 AM
Dropped Item is destroyed overtime? AztraL- Map Development 4 09-11-2006 02:37 PM
my hopes are destroyed Big JR Map Development 7 04-03-2005 03:57 PM

All times are GMT. The time now is 08:56 PM.





Powered by vBulletin
Copyright 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.5.1 PL2
Copyright © Ralle