Author |
Message |
![[Post New]](/dcforum/templates/default/images/icon_minipost_new.gif) 06/15/2011 08:55:53
|
Burk3M
Joined: 06/11/2011 14:08:57
Messages: 3
Offline
|
I have tried a couple of things, seeing as I'm trying to reverse engineer things they don't work
//bonus experience for goal score
if (!bAwardedGoalScore && TeamPlayerReplicationInfo(Killer.PlayerReplicationInfo) != None && TeamPlayerReplicationInfo(Killer.PlayerReplicationInfo).BGoalScore)
{
KillerData.Experience +=50
bAwardedGoalScore = True;
}
This tells me bad expression after ! so bAwardedGoalScore doesn't work
and
//bonus exp for goal score
log(Level.Game.GetHumanReadableName()@"Scored the goal, awarded"@RPGMut.EXPForWin@"EXP");
This guy doesn't work I'm expecting because the utcontroller doesn't log goal scores.
I'm stumped because I do not know much
Someone help!!
|
|
 |
|
|
|