I have a piece of code executed when moving units around.
And i have an event, that resets the movement, so u can move other units around.
That's left click anywhere, but the problem is i can reset the movement while some units are still moving. So it messes them up, and they don't stop.
Basicly i want to deny any user input, any conditions until the movement action is complete.
I was thinking about Event groups, but i allready have a lot of these, so is there a simpler way?
The best way to disable player controls is to first have all the player's controls grouped into one group. From there it'd be easy to just deactivate that group and stop the player from inputing controls that move the hero around if a flag was set to ON, for example.
Edited by the Author.
--
"Del Duio has received 0 trophies. Click here to see them all."
"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"
DXF Games, coming next: Hasslevania 2- This Space for Rent!