Myconnectindex: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Plugwash (talk | contribs)
No edit summary
Plugwash (talk | contribs)
No edit summary
Line 1: Line 1:
myconnectindex is a [[gamevar]] which represents the LOCAL PLAYER
myconnectindex is a [[gamevar]] which represents the LOCAL PLAYER


It is of little actual use in con (despite the impressions of some mod authors who misunderstand dukes netplay). In singleplayer it will always be fixed at the first player index. In multiplayer actor code it will cause different results on different computers which will almost certainly cause some form of [[desync]]. In display code screenpeek should be used instead to allow viewing of others screens in coop.
It is of little actual use in con (despite the impressions of some mod authors who misunderstand dukes netplay). In singleplayer it will always be fixed at the first player index. In multiplayer actor code it will cause different results on different computers which will almost certainly cause some form of [[desync]]. In display code [[screenpeek]] should be used instead to allow viewing of others screens in coop.

Revision as of 05:08, 10 January 2005

myconnectindex is a gamevar which represents the LOCAL PLAYER

It is of little actual use in con (despite the impressions of some mod authors who misunderstand dukes netplay). In singleplayer it will always be fixed at the first player index. In multiplayer actor code it will cause different results on different computers which will almost certainly cause some form of desync. In display code screenpeek should be used instead to allow viewing of others screens in coop.