Hey there, I am new to Verse and I don’t understand what I have to do in order for my functions to be called. The “(Agent:agent)” is underlined and it says that “verse data definitions at this scope must be initialized with a value” and I don’t know how to solve this problem.
Help would be very much appreciated!
It doesn’t look like you have an Agent/Player reference inside the scope of your IF/ELSE expressions. The ChooseLoadout4(Agent:agent) needs a reference of Agent or Player and can’t find one. You need the whole:
Player: GetPlayspace().GetPlayers() expression inside the IF scope, then put the Player reference into ChooseLoadout( ). Either a player or agent reference should work, but it doesn’t look like it sees one.
1 Like
I did as you told me and it works now! Thank you very much <3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.