Problem Description
Sorting logic using values doesnt work. As you cant compare a value with itself from the same object?
This logic does not work:
ObjectThing <Value1> < ObjectThing.<Value1>
<Do something>
Making it a For Each loop does not work, its not comparing itself with itself. Not even storing the value in a second value such as:
ObjectThing <Value1> < ObjectThing.<Value2>
<Do something>
Family associations this way does not work (ObjectFamilyThing.<Value>, etc)
This isnt the only game engine ive used that had this problem, so if this is on purpose or a limitation just let me know and I'll understand, it explains alot.
Attach a Capx
ObjectThing <Value1> < ObjectThing.<Value1>
<Do something>
'<' A Difference but not an equality.
Description of Capx
The logic used.
Steps to Reproduce Bug
ObjectThing <Value1> < ObjectThing.<Value1>
<Do something>
An object compared to itself with a greater or less value compared to another object of its same type
with or without a for each loop and if it is different do something, ANYTHING.
Observed Result
Nothing. As in the logic is faulty for some reason but I cant seem to think or know why. It is of the same object class I would assume and be able to compare to itself.
Expected Result
I expect the instance to compare its own value with a list of other instances even if they are of its same class or family, and then evaluate based on its value. As it would with any other objects. But it doesnt.
Affected Browsers
Operating System and Service Pack
Windows 8
Construct 2 Version ID
Most recent.