A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE Technical / Map Design »Are player indexes dynamically reassigned as players join and quit?

Author Topic: Are player indexes dynamically reassigned as players join and quit? (5 messages, Page 1 of 1)
Moderators: Dennis

SGWraith
Joined: Apr 15, 2006

[SG] Clan


Posted: Sep 12, 2007 02:39 AM    Msg. 1 of 5       
I thought for sure I asked someone this already but I can't remember what the answer was, so lets say that you have 2 players in a server: player0 and player1. Then another player comes along and joins so now you have: player0, player1, and player2

What happens if player0 quits? Will player1 become player0, and player2 become player1? Or will the next person to join become player0?



Edited by SGWraith on Sep 12, 2007 at 02:40 AM


Orange_Geko
Joined: Nov 19, 2005

How long since I last used this account?


Posted: Sep 12, 2007 11:10 AM    Msg. 2 of 5       
Quote: --- Original message by: SGWraith
What happens if player0 quits? Will player1 become player0, and player2 become player1? Or will the next person to join become player0?

yes, they move downwards to fill the gap, so if there are 0123456, and 4 quit, 0123 wouldnt change, but 5 would become 4, and 6 would become 5


SGWraith
Joined: Apr 15, 2006

[SG] Clan


Posted: Sep 12, 2007 12:56 PM    Msg. 3 of 5       
You had mentioned once a solution using invisible attached bipeds to keep track of things. If a player dies, then respawns, is the biped that was attached to him before he died going to respawn with him or will it have been destroyed?


Orange_Geko
Joined: Nov 19, 2005

How long since I last used this account?


Posted: Sep 12, 2007 12:58 PM    Msg. 4 of 5       
Quote: --- Original message by: SGWraith
You had mentioned once a solution using invisible attached bipeds to keep track of things. If a player dies, then respawns, is the biped that was attached to him before he died going to respawn with him or will it have been destroyed?

it will stay attached to the corps, and when the corps disapers, it would be destroyed unless reattached to the new player


SGWraith
Joined: Apr 15, 2006

[SG] Clan


Posted: Sep 12, 2007 01:12 PM    Msg. 5 of 5       
Re-attaching it to the right player would then be the trick if you were tracking something like Territory time for example. I think I can still use this for some of my other things though like tracking special status or conditions where you lose it if you end up dying.

Tracking 2+ teams in territories could get interesting but might be doable if I don't mind having players assigned to different teams whenever they die, lol.
Edited by SGWraith on Sep 12, 2007 at 01:14 PM

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 11:04 AM 109 ms.
A Halo Maps Website