Thanks GraemeBB. I’m a big follower of your work (assuming you’re the same Graeme from YouTube :)). So I’ve tried this which is my (limited) understanding of what you’ve put:
game_manager := class(creative_device):
var Score : int = 0
GetScore(Agent:agent)<suspends>:void=
set Score = ScoreManager.GetCurrentScore(Agent)
Sleep(0.5)
OnBegin<override>()<suspends>:void=
UpdateScore():void=
for(Player:PlayersMap):
spawn{GetScore(Player.MyAgentObj)}
Player.UpdateScore(Score)
That will not return to me the Score in the variable - but the Scoreboard on the map key continues to function correctly for my SetScoreAward and Activate events for the Agent. I just for some reason cannot get the ScoreManager to give me the GetCurrentScore back for the Agent.
Is it possible for you to give me an example of how you have it? Perhaps I’m misunderstanding how to use this device - but the GetCurrentScore information on Epic’s website says that if I call it with (Agent) then it will return an :int that is the Agent’s current score.