Posted: Thu Mar 15, 2007 6:08 am
Hmmm, seems that you're right on this one. I had a look into my scripts again and actually I found no example that looked like the one I posted.Ahruman wrote:Are you sure about this? It looks to me for all the world as though what the existing code is doing for <constant_expression>s is:Commander McLane wrote:- The distinction between <testable_variable> and <constant_expression> already is somehow fluent. E.g. "mission_mymission_counter lessthan [mission_mymission_anothercounter]", comparing two variables to one another is valid code, provided the second variable is put in square brackets.Variables don’t seem to be handled.
- If it ends with _bool, _number or _string, treat it as a query method.
- Otherwise, treat it as a literal.
It seems when I posted my first post I mixed up "mission_mymission_counter lessthan [mission_mymission_anothercounter]" (which I in face never tested) with "set: mission_mymission_counter [mission_mymission_anothercounter]" or "set: legalStatus_number [mission_mymission_anothercounter]", which are valid.