Another good reason to get 469

I'm waiting for them to work all the bugs out first.
Smilies · https://ut99.org/viewtopic.php?f=8&t=13758medor wrote:Replace Skaarj with EvilGrins
Entirely disagree all blabbering concerning ONLY PLAYERPAWN. This is NOT a fix either for year 2021.Suggested Fix wrote: Suggested fix:
Check there for cast to PlayerPawn:
case TT_PlayerProximity:
return PlayerPawn(Other)!=None && Pawn(Other).bIsPlayer;
Code: Select all
case TT_PlayerProximity:
return Pawn(Other)!=None && Pawn(Other).PlayerReplicationInfo != None && Pawn(Other).bIsPlayer;
Code: Select all
auto state Startup
{
function BeginState()
{
Super.BeginState();
/*
A sack of insanity - we don't even know if weapon won't be replaced and it goes NONE leaving Pawn bIsplayer to make a mess
bIsPlayer = true; // temporarily, till have weapon
*/
if ( WeaponType != None )
{
/*
NOT YET !!
bIsPlayer = true;
*/
myWeapon = Spawn(WeaponType);
if ( myWeapon != None )
myWeapon.ReSpawnTime = 0.0;
}
}
function SetHome()
{
Super.SetHome();
if ( myWeapon != None )
{
bIsPlayer = True; //only if I do have myWeapon
// or AddInventory(myWeapon);
//else execute codes below
myWeapon.Enable('Touch'); //It won't hurt anything
myWeapon.Touch(self);
}
else
{
// whatever weapon finding method or leaving a ServerActor to polish things after execution of ReplaceWith craps
}
}
}
Map is impossible to end: when flying away with shuttle (AttachMover0), players inside die after some seconds.