• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Gah!

Warmonger

Well-known member
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/fV0JAA/5xWGAA/IMSolB/TM
--------------------------------------------------------------------~->
 
Back
Top