Forum Archive. A read-only snapshot of the Warfare Incorporated forums (2003–2020), preserved for historical purposes.  ·  warfareincorporated.com
Warfare Incorporated Forum

Win trigger
Author Message
Uncle SamX2
Semi-frequent Poster
Joined: 18 Oct 2009
Posts: 28
Location: AZ.
 Post Posted: Mon Oct 26, 2009 11:45 am  Post subject: Win trigger

I made a win trigger and when I would start It would do instant win..
Any Help??? :?
scottlu
WI Founder


Joined: 15 Aug 2003
Posts: 1773
 Post Posted: Mon Oct 26, 2009 5:30 pm  

You need to add conditions to the trigger, a condition like "only if other side have 0 units", and you need to make the trigger apply to all sides.

Btw this should be in the mission authoring section of the forum.

See the maps included with the mission editor for examples. If there is no MP example map, I will provide one.
BrianBSHS
Administrator Emeritus
Joined: 23 Jan 2009
Posts: 488
Location: Zimbabwe
 Post Posted: Mon Oct 26, 2009 5:44 pm  

I made a trigger that when I say a certain command it gives me extra units, cash, or just let's me win instantly.
Uncle SamX2
Semi-frequent Poster
Joined: 18 Oct 2009
Posts: 28
Location: AZ.
 Post Posted: Mon Oct 26, 2009 10:03 pm  

If it was applied for all sides how can all sides kill
all sides 1will be left or 2 allies..?? I'm confused,.
Sampler destory that sertan building not all enemys
I don't wan't to do that. If your an admin move this post
Ican't ..
scottlu
WI Founder


Joined: 15 Aug 2003
Posts: 1773
 Post Posted: Mon Oct 26, 2009 11:12 pm  

If you have 2 sides, for example, both sides need to check for the win condition. It would go something like this:

side 1:
condition: check to see if side 2 has zero units
action: win condition

side 2:
condition: check to see if side 1 has zero units
action: win condition

etc. If you have 3 players the logic is a little different but the idea is the same.
Uncle SamX2
Semi-frequent Poster
Joined: 18 Oct 2009
Posts: 28
Location: AZ.
 Post Posted: Tue Oct 27, 2009 9:50 am  

Humm did not work instant win what Up??
Im sick of people hating my map this gits very dume
+ What about allies If Some one makes the allies trigger go off what then
how can you kill your allies to win????????
Sonting to do with Exactly or atleast??