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

Conditions inside a trigger?
Author Message
Grurf
WI Forum Novice
Joined: 09 Oct 2004
Posts: 8
 Post Posted: Sun Oct 10, 2004 1:26 pm  Post subject: Conditions inside a trigger?

Is it possible to create conditions inside a trigger? Example:

Conditions:

Switch1 is on

Actions

Spawn Unit group x
Switch 2 is on
Spawn Unit group Y

Or do you have to create a new trigger for every condition?
Verdagon
Veteran Member
Joined: 05 Oct 2003
Posts: 1047
Location: San Luis Obispo, CA
 Post Posted: Sun Oct 10, 2004 7:17 pm  

nawp. its impossible... there are workarounds to it though, using lots of switches.
Grurf
WI Forum Novice
Joined: 09 Oct 2004
Posts: 8
 Post Posted: Tue Oct 12, 2004 12:42 pm  

But I thought the switch-limit was 16?
crakerz
Mega-Poster


Joined: 17 Sep 2003
Posts: 353
Location: California Bay Area
 Post Posted: Thu Oct 14, 2004 5:28 pm  

Yes, but pvars aren't and can be used similar to switches. The number of triggers is limited to 128 per side, however.
Verdagon
Veteran Member
Joined: 05 Oct 2003
Posts: 1047
Location: San Luis Obispo, CA
 Post Posted: Thu Oct 14, 2004 10:23 pm  

crakerz wrote:
Yes, but pvars aren't and can be used similar to switches. The number of triggers is limited to 128 per side, however.


I simply *must* get out of the habit of switches. In sc there were no 'pvars'...

But yeah, PVars would be much better for this situation...
dancer402
Mega-Poster


Joined: 12 Feb 2005
Posts: 294
Location: Monument CO
 Post Posted: Fri Feb 25, 2005 8:13 pm  

starcraft...?

I made dodgeball and I am trying to make it for this but u cant kill :x :x :x :x :x :x :x :x
guitarist809
Veteran Member


Joined: 08 Jan 2005
Posts: 1234
 Post Posted: Thu Mar 03, 2005 8:14 pm  

huh?
crakerz
Mega-Poster


Joined: 17 Sep 2003
Posts: 353
Location: California Bay Area
 Post Posted: Thu Mar 03, 2005 9:45 pm  

dancer402 wrote:
starcraft...?

I made dodgeball and I am trying to make it for this but u cant kill :x :x :x :x :x :x :x :x


Sure you can. One example is in CZMP: FragTag

http://www.handmark.com/warfare/forum/viewtopic.php?t=901

But then, that might not work for your application.....