I've been messing around with ccSensors for the past few days and have been trying to get the proximity sensor to send info to the computer which the computer then decides if there is a player near that sensor which it can excecute a program specific to that players name.

However when I try and see if there is a player in the area by seeing if there is a "vq" returned to the program by the ccSensors API then double checking with saved names to see if theres a function or program linked to the name given from the sensor. However I cant get it to even see the entities detected by the sensor.

Can anyone help, theres no code behind it. Im proably just calling sensor apis in the wrong order or something.

Cheers