Hi
I'm using
EDDI.
I have {INT:currentShip} set to 1 on startup then a loop which checks {INT:currentShip} is <= {INT:Stored ships} (4) and increments {INT:currentShip} to simulate a foreach of an array, this works great.
However this does not extend to Decimal if statements?
What I want to do is:
Begin Decimal Compare : [Stored ship {INT:currentShip} distance] Has Been Set
Begin Decimal Compare : [Stored ship {INT:currentShip} distance] Is Greater Than 0
If I try and just use a text statement like
Begin Text Compare : [{DEC:Stored ship {INT:currentShip} distance}] Has Been Set
It is always true/set
Does this make sense? Any work arounds?
Download a test profile containing this command. It will not work without EDDI setup and such so just for reference...
Thanks