[quote="newt":3ffo3wza]Take it easy. It'll come
Ampersand (&) is for strings(text), so that's really not where you want to go here.
There's another page you might want to take a look at: system expressions.
If you look there you'll find clamp:
[quote:3ffo3wza]Clamp(Value, Lower bound, Upper bound)
Returns Value if it is between Lower bound and Upper bound. Returns Lower bound if Value is less than Lower bound. Returns Upper bound if Value is greater than Upper bound [/quote:3ffo3wza]
ih man i knew this most be something obvious right in front of my nose!
Thank yiu for that link Newt. i did check the "espressions" page, didnt figure out theres another diffrent one hah
now - many things became so simple
[quote:3ffo3wza]In that case, it's always better to simply not allow that to happen.[/quote:3ffo3wza]
thats the problem. if the would be just couple of conditions that changes this var i would just turn them off by auto with conditions, but the problem is - theres lots of conndtidions that changes this one and its an ant-job to add off switch for all of them or even keep track of them.
thank you very much for the cap mate
okey guys it seems i screwed up once again
whats wrong with this?
[code:3ffo3wza]clamp(global('Spaceship - EnergyTotal'),global('Spaceship - EnergyTotal')*0.6,global('Spaceship - EnergyTotal')*0.69)[/code:3ffo3wza]