Member
Volunteer Data File Author
Join Date: Apr 2005
Location: North Western Arizona
Posts: 97
|
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 --------------------------------------------------------------------~-> |
#1 |
|
|