Wrong behaviour of property name used in a sensor
Closed, InvalidPublic

Description

System Information
Windows 7 64, GTX980

Blender Version
Broken: e92f235283 + d187014 (2017-05-02)

Short description of error
Using a propertys name as sensor in this setup results in wrong output after starting the game engine:

Look at the sensor.
Picture 1 is wrong output, picture 2 is correct but with number 200 instead of "max", which should basically be the same, but it doesnt work.
In fact, "max" says 100 is greater than 200.

(Intention of setup is to not let "prop" go greater than "max")

Exact steps for others to reproduce the error

Details

Type
Bug
Dalai Felinto (dfelinto) claimed this task.

The Property sensor expects a raw value, not a property for comparison. In your case you can change your sensor by an "Always" sensor, and replace the "And" controller by an "Expression" controller: prop > max