Cogito, ergo sum

User talk:Wormbo/Dying spree mutator

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search

Maintaining the players list in UT[edit]

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