Strange output from Game.Attributes, troubleshooters invited to help
8x8n8
Member Posts: 79
I am making a simple platform jumper. I am trying to make platforms that spawn randomly within bounds. I am getting very strange activity from the global variables tho. See the screenshots to check my code structure. I don't get why GS is resetting the variable to 0 after 5 copies are spawned. Also it spawns 6 copies and stops. Sorry this question is hard to ask clearly, ask for clarification and I'll do my best to expound.
Comments
I see you have an OTHERWISE section in that rule, can you also share that part of the code?
GameSalad Templates and Custom Development at the Official Marketplace: http://gshelper.com
There is nothing in the "otherwise." It's acting like there is tho, good question thanks.
Sort of figured it out, I had another actor that I didn't change the expression for, which was screwing up my global variable. Sorry I'll try to QA myself better before posting next time.