Warfare Incorporated :: View topic - Make AND operator
Warfare Incorporated Forum Index
 FAQ   Search   Memberlist   Usergroups 
 Profile   Log in to check your private messages   Log in 
 
Make AND operator

 
Post new topic   Reply to topic    Warfare Incorporated Forum Index -> Mission Authoring
View previous topic :: View next topic  
Author Message
yanjchan
Developing Poster


Joined: 17 Jan 2009
Posts: 12

PostPosted: Sun Jan 18, 2009 7:24 pm    Post subject: Make AND operator Reply with quote

How can i use the AND operator for conditions in a trigger?
For example:

Pvar City = 1
AND Countdown Timer = 0

not

Pvar City = 1
OR Countdown Timer = 0

which is how it is by default?
Is there any way?
Back to top
View user's profile Send private message
Callex
Established Forum User


Joined: 17 Dec 2008
Posts: 65
Location: United Kingdom

PostPosted: Sun Jan 18, 2009 11:06 pm    Post subject: Reply with quote

By default all the conditions are treated as AND. I haven't found a way to use OR operators for conditions yet which is a real pain when making trigger-heavy maps.
There is a workaround using switches though; just make each OR condition in a seperate trigger and each trigger set to turn a switch on. When the switch turns on a final trigger can run the desired functions.
Back to top
View user's profile Send private message MSN Messenger
yanjchan
Developing Poster


Joined: 17 Jan 2009
Posts: 12

PostPosted: Mon Jan 19, 2009 10:13 am    Post subject: Reply with quote

Really?
That's strange.

Ha, that's the opposite of my case.
My map needs for multiple conditions to be satisfied, but for some reason it seems to be OR on mine.
Back to top
View user's profile Send private message
Callex
Established Forum User


Joined: 17 Dec 2008
Posts: 65
Location: United Kingdom

PostPosted: Mon Jan 19, 2009 12:24 pm    Post subject: Reply with quote

Hmm, that IS weird Confused ... maybe there is an AND/OR toggle but its very discreet? Are the little checkboxes next to your conditions ticked? I haven't found a use for them so far, maybe they work as a toggle or something...
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Warfare Incorporated Forum Index -> Mission Authoring All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2002 phpBB Group