Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Army Builder Forums > Army Builder
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Warmonger
Member
Volunteer Data File Author
 
Join Date: Apr 2005
Location: North Western Arizona
Posts: 97

Old February 11th, 2005, 02:07 PM
This works:
if (tagcount[tyTags.AddIn] > 0) then
basestat[In] = stat[In] + 1
endif

-----
This generates an error:
if (tagcount[tyTags.Rippers] > 0) & (tagcount[tyTags.AddIn] > 0) then
basestat[In] = stat[In] + 2
endif

-----
This doesn't error out, but it also does nothing.
if (tagcount[tyTags.AddIn] > 0) then
basestat[In] = stat[In] + 1
if (tagcount[tyTags.Rippers] > 0)then
basestat[In] = stat[In] + 1
endif
endif

How do I check if a unit has two tags before doing an operation on it!?!?!?!





__________________________________________________ ______________
Sent via the WebMail system at lokilaw.com






------------------------ Yahoo! Groups Sponsor --------------------~-->
Meet the McDonald¿s® Lincoln Fry get free digital souvenirs,
Web-only video and bid on the Lincoln Fry prop charity auction.
http://us.click.yahoo.com/UScA5C/fV0...WGAA/IMSolB/TM
--------------------------------------------------------------------~->
Warmonger is offline   #1 Reply With Quote
Reply


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

Forum Jump


All times are GMT -8. The time now is 08:59 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.