Hello,
I'm handling a custom script, and I know you can use "AC.GlobalVariables.SetFloatValue". However, I need to give 'points' through my custom script, or increase the value of the current set of points the player has already. Any simple way to do this?
Thank you.
Comments
int myVarID = 1; // Or whatever
float points = AC.GlobalVariables.GetFloatValue (myVarID);
points += 2; // Or whatever
AC.GlobalVariables.SetFloatValue (myVarID, points);