This would be pretty neat, and quite a timesaver:
A function or logical operator that returns true if a variable's numerical value is somewhere between two others, or near them based on some number. It's handy for finding if an entity is near another. An operator for this could look like
variableA <5> VariableB
That would sort of represent larger than or smaller than (variables A and B), by some amount (the middle number). Hey, I can write like the Ms. Word help file! Actually, I'll make my own function for this shortly and post it, but this would be to make it look nicer and be easier to write out.
Now, number 2. This one couldn't be done with normal user made functions:
A ResetVariable(variable) function. This could reset variables to their original values without the programmer having to scroll all the way back up to find out what that value is.
A function or logical operator that returns true if a variable's numerical value is somewhere between two others, or near them based on some number. It's handy for finding if an entity is near another. An operator for this could look like
variableA <5> VariableB
That would sort of represent larger than or smaller than (variables A and B), by some amount (the middle number). Hey, I can write like the Ms. Word help file! Actually, I'll make my own function for this shortly and post it, but this would be to make it look nicer and be easier to write out.
Now, number 2. This one couldn't be done with normal user made functions:
A ResetVariable(variable) function. This could reset variables to their original values without the programmer having to scroll all the way back up to find out what that value is.