so i have this script:
import GameLogic
con = GameLogic.getCurrentController()
own = con.ownercon = own.getDistanceTo(“object”)
own[“long”] = con
its used to get the distance to determinate object, i want to change it so i gets the distance to a determinate property in way of an object, i know this is really stupid, but i have NO python knowledge, so i will be so happy with any help
PD:it is for blender 2.49