Every example I find uses this or something similar. Am I doing something wrong?
for (Agent : TeamPlayers, TeamPlayer := player[Agent], FortCharacter := TeamPlayer.GetFortCharacter[]):
Every example I find uses this or something similar. Am I doing something wrong?
for (Agent : TeamPlayers, TeamPlayer := player[Agent], FortCharacter := TeamPlayer.GetFortCharacter[]):
Hi Joshua,
GetFortCharacter is an extension method, so you need to have a ‘using’ statement corresponding to where it is defined. I suspect if you add
using { /Fortnite.com/Characters }
in the file you’re trying to do this it’ll resolve this error.
It worked. Thanks!