PDA

View Full Version : Is Player There?


Edward
12-21-2003, 05:47 PM
Hi!
I need help... I have a set of 32 switches with 3 cels. They are made so that you can look through the eyes of other players. Now, how do I do so that if a Player is there (not there as in Thing 4 = Walkplayer but active, someones using Thing 4) a switch's cel is set to 1, and when you activate a switch with cel 1, it will become cel 2 and you see through the eyes of that player.

/Edward
------------------
A very stupid thing to say when you are a radio show host on the air:
Hay, look at this! Ernest has brought us a gift! Come on, show it to the camera so that they can all see!
- OB3BornToBeFree

gbk
12-21-2003, 06:21 PM
Im getting rusty, but it problably has somthing to do with "GetPlayerNumber"(sp), the verb that gets the PlayerID of a specific thing number. If it returns a -1, the player is not ingame, and once can assume that all the rest of the slots are unalloted as well.

------------------
Fight (http://12.220.251.111/cgi-bin/addies.pl) the (http://12.220.251.111/ol) future (http://12.220.251.111/ol/cogpad/cogpad.html).

Edward
12-23-2003, 07:26 AM
YES! I got it! Well, I think... I'm only playing with no other computer. But all switches are off when noone's around. Just me! Lonely me... http://forums.massassi.net/html/frown.gif
Anyway, thanks!

/Edward

gbk
12-23-2003, 10:56 AM
NP. http://forums.massassi.net/html/smile.gif

------------------
Fight (http://12.220.251.111/cgi-bin/addies.pl) the (http://12.220.251.111/ol) future (http://12.220.251.111/ol/cogpad/cogpad.html).