hmm, it’s hard to understand… what I did so far:
i have an empty1 in Scene1 with a property named velocity, as well as I have a empty2 with a property named altitude in Scene1.
In scene2 (overlay-scene) I have two planes to display the scene1 properties altitude and velocity. To be able to display the font both planes have the same property named “Text”. (The only way to display the property’s value with the font is by naming the property “Text”, isn’t it?!)
With the properties.py it works well for 1 plane, but as soon as I try to assign a second properties2.py to the second plane, both planes display the same value (either the altitude or the velocity).
Ok, so I tried it with the S2A.firstBodyToValue…
What I did(an example with the altitude empty)
altitude_empty(Property:altitude - Integer):
Always Sensor - AND - Message Actuator (To: Receiver, Subject: newaltitude, Body: Prop: altitude)
altitude.plane(Property: Text - Integer):
Message Sensor (Subject: newaltitude) - Python Module: S2A.firstBodyToValue - Property Actuator (Assign: Text)
That’s it, but then I get a lot of error messages in the console. E.g.: ‘module’ object has no attribute ‘StringType’ (in line 93) etc
Do I have to delete all the code in the script that is not needed?