10/14/2026 [01:09:15] GMT Home .:. Logout
Forums
Hardmaps.com :: Forums :: Map Making Forum :: Joint Operations
 
<< Previous thread | Next thread >>
And's
Moderators: Hardmaps Administrator, *HmS*Wedge, *HmS*grunt, *HmS*Trevor, *HmS*LongBow
Author Post
NUT ACE
Tue Mar 06 2007
picard
Registered Member #1450
Joined: Wed Oct 11 2006
Location: The Netherlands
Posts: 635
Hey Guys...

Didn't want to bother you last night on Ventrilo..You were having so much fun..

Small question.. How many And's can I use In a condition

f.i.

if never() and SSNdead(xxxx) and SSNdead(xxxx) and SSNdead(xxxx)then
do something


Back to top
*HmS*Tisa
Wed Mar 07 2007
Col.Gawdamnit
Registered Member #564
Joined: Mon Mar 14 2005
Location: Sweden
Posts: 361
well i have no clue. hehe, but seriosly, from what i have found out not more than one AND is proven to work, using more ANDs in one event seems to make the event unstable, if u have many objects to use in an event as u give an example of i would strongly recommend variables..

gives u a couple of more lines in the WAC file , but in the long run u have a 100% reliable event in the end.

my experiance.
/Tisa
Back to top
*HmS*Trevor
Wed Mar 07 2007

Registered Member #35
Joined: Tue Dec 30 2003
Location: Lincolnshire England
Posts: 2080
What Tisa is saying is:
if ssndead(**)and never then
inc(v10)
endif
if eq(v10,20) and never then
(whatever event you want)
endif
Back to top
NUT ACE
Wed Mar 07 2007
picard
Registered Member #1450
Joined: Wed Oct 11 2006
Location: The Netherlands
Posts: 635
That's actualy what I'm doing..

if never()and SSNdead(xxxx)then
add(v3.1)
endif


and I've got about 150 of those. That's a lot of lines( read KB's)

If I would do something like this

if never() and SSNdead(xxxx) and SSNdead(xxxx) and SSNdead(xxxx) (etc etc) then
add(v3,3)
endif


That saves me (in my wac) 7KB. My wac is 26KB at the moment, I've read somewhere
you should keep it below 24KB's Or strange things may happen.

Back to top
*HmS*Trevor
Wed Mar 07 2007

Registered Member #35
Joined: Tue Dec 30 2003
Location: Lincolnshire England
Posts: 2080
I have seen WACs with upto 10 "ands" and they seemed to work, like all things mapmaking, do as I and Shadowman do - EXPERIMENT - if it works keep it if not try something different.
Back to top
NUT ACE
Wed Mar 07 2007
picard
Registered Member #1450
Joined: Wed Oct 11 2006
Location: The Netherlands
Posts: 635
Guess your right...Trial and error is the only way for NOVA (mainly error(devil) )

Thanx guys..
Back to top
NUT ACE
Wed Mar 07 2007
picard
Registered Member #1450
Joined: Wed Oct 11 2006
Location: The Netherlands
Posts: 635
So just tested it...

Better not put to many and's in a condition. I don't know exactly how may you can use, but I have conditions with as many as 21 and's, and they work perfectly.

I've treyed one with 86 and that screwed things up

Some of my events didn't trigger anymore, while others do trigger (even when they have the same condition)
...

Another NOVA bug I presume...

Maybe a good excuse to make an anti NOVA smiley??
Back to top
 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System
All trademarks are copyright their respective owners.
This site is best viewed using 1280-1024 screen resolution.
{THEMEDISCLAIMER}
Render time: 0.1131 sec, 0.0220 of that for queries.