Hey, i'm trying to implement it for one of my stats for a custom perk for when they survive a wave. Now the problem is, i'm getting errors.
Gametype:
Error:
I don't understand why i'll get this error if i'm calling a function from another class file. Any ideas?
Gametype:
Code:
if ( Level.NetMode != NM_StandAlone && Level.Game.NumPlayers > 1 &&
SurvivorCount == 1 && Survivor != none && KFSteamStatsAndAchievements(Survivor.SteamStatsAndAchievements) != none )
{
KFSteamStatsAndAchievements(Survivor.SteamStatsAndAchievements).AddOnlySurvivorOfWave();
}
// Addition for the Survivor waves survived.
else ( KFPlayerReplicationInfo(Survivor.PlayerReplicationInfo).ClientVeteranSkill == class'SRVetSurvivor' && Survivor != none )
ServerStStats(Survivor.SteamStatsAndAchievements).AddSurvivorWave();
Error:
Error, 'ServerStStats': Expression has no effect
I don't understand why i'll get this error if i'm calling a function from another class file. Any ideas?