Did anyone notice that CA commented out two verbs from the JKSpecs' multiplayer list? They were:
GetPlayerNum()
GetPlayerThing()
Both take one parameter and return an integer. My theory is that players in a game are indexed. IE, the host is 0, the second player is 1, the third is 2, etc.
In that case:
index_num=GetPlayerNum(thing_num);
thing_num=GetPlayerThing(index_num);
SP testing seems to prove this, but it really needs to be tested in Multiplayer. And unfortuneatly, I can't do that right now.
Could someone spare the time?
[This message has been edited by SaberMaster (edited January 02, 2002).]
GetPlayerNum()
GetPlayerThing()
Both take one parameter and return an integer. My theory is that players in a game are indexed. IE, the host is 0, the second player is 1, the third is 2, etc.
In that case:
index_num=GetPlayerNum(thing_num);
thing_num=GetPlayerThing(index_num);
SP testing seems to prove this, but it really needs to be tested in Multiplayer. And unfortuneatly, I can't do that right now.
Could someone spare the time?
[This message has been edited by SaberMaster (edited January 02, 2002).]
Using GetPlayerThing(playernum) takes away the need to store the player thing in a variable cuz its already in an array somewhere in JK.
Actually, when you think about it, I'm one of the ideal one's to do stuff like this, cuz, *fanfare* My old 233mhz, 64mb ram, Voodoo2 computer sits behind me (not bad for JK at all, 30-40fps in CO), and everyone in the house is on our LAN. ![http://forums.massassi.net/html/frown.gif [http://forums.massassi.net/html/frown.gif]](http://forums.massassi.net/html/frown.gif)
