• 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

Possible error in V2.0

  • Thread starter Thread starter sday at dolphin-cs.co.uk
  • Start date Start date
S

sday at dolphin-cs.co.uk

Guest
Hi,

I am using the external attribute "lcmp" on a unit, with some strange results.

The expression I am using is:lcmp:drv>mod/2-msg=otderv

drv and mod are two of my stats which have been derived from various unit counts.

I would expect that if drv was 5 and mod was 8, the message would be displayed, however, the logic appears to be in reverse.

drv = 0 to 4 mod = 8 message given
drv = 5+ mod = 8 no message given

Is there a glitch, or am I going daft ?

Cheers,
Simon Day


________________________________________________________________________
This message has been checked for all known viruses, by Star Internet,
delivered through the MessageLabs Virus Control Centre.
For further information visit:
http://www.star.net.uk/stats.asp

--------------------------------------------------------------------<e|-
Go to Maingate.com to improve the quality of military life.
http://click.egroups.com/1/7637/4/_/36190/_/966602541/
--------------------------------------------------------------------|e>-

To unsubscribe from this group, email

armybuilder-unsubscribe@egroups.com
 
The behavior is correct. The comparison is asserting the relationship that
must be maintained to be legal. Only when the comparison fails is the
validation message triggered.

Thanks, Rob


At 01:33 PM 8/18/00 +0100, you wrote:
>Hi,
>
>I am using the external attribute "lcmp" on a unit, with some strange results.
>
>The expression I am using is:lcmp:drv>mod/2-msg=otderv
>
>drv and mod are two of my stats which have been derived from various unit
>counts.
>
>I would expect that if drv was 5 and mod was 8, the message would be
>displayed, however, the logic appears to be in reverse.
>
>drv = 0 to 4 mod = 8 message given
>drv = 5+ mod = 8 no message given
>
>Is there a glitch, or am I going daft ?
>
>Cheers,
>Simon Day


---------------------------------------------------------------------------
Rob Bowes (rob@wolflair.com) (650) 726-9689
Lone Wolf Development www.wolflair.com

--------------------------------------------------------------------<e|-
Go to Maingate.com for info that improves the quality of Army life.
http://click.egroups.com/1/7636/4/_/36190/_/966624771/
--------------------------------------------------------------------|e>-

To unsubscribe from this group, email

armybuilder-unsubscribe@egroups.com
 
Back
Top