Wikis / Unreal Wiki / User talk:Wormbo/Dying spree mutator

Maintaining the players list in UT

Doesn't you have to add a tick() function to check for players who left, so that you make sure that there's always space in the DyingSprees structure? Because otherwise the PlayerPawn maybe left, but in the playerstruct it's not automatically set to DyingSprees[PlayerIndex].Player = none, so the mutator still thinks at this spot is a real player.

Am I right there? -Sp0ngeb0b

A player's Pawn (or Controller in UE2/3) is destroyed when the player leaves. When an actor is destroyed, all references to it are cleared automagically. —Wormbo 16:43, 30 November 2010 (UTC)
Okay, thanks for making that clear! :) Sp0ngeb0b

Page Information

2022-11-18T13:13:27.965509Z 2010-11-30T18:26Z 87.78.75.159 /* Maintaining the players list in UT */ https://wiki.beyondunreal.com/User talk:Wormbo/Dying spree mutator Attribution-NonCommercial-ShareAlike 3.0