Help making a player unable to issue an order

Status
Not open for further replies.
Level 4
Joined
Jul 5, 2012
Messages
33
I have a TD map and if a player accidently right clicks(orders to move) while having a tower selected, then the tower will just rotate to the clicked area and ignore all the creeps that pass by after that. I have the movement speed set to 1 and movement type to none (as I don't want them to move, just to rotate towards the enemies). Is there any way to make them target creeps again after?
 
Level 5
Joined
Jun 28, 2010
Messages
41
I had a similar issue and fixed it with my map. This is mine but basically you do an event for whenever a unit is issued an order targetting a point then you wait 0 seconds and order that unit to stop. You have to wait because for some fucking reason the movement order isn't instant? Like you take away that 0 second delay and it flat doesn't work.

-edit how do people get that swank looking actual clickable gui code in here?
 

Attachments

  • cancelexample.png
    cancelexample.png
    43.2 KB · Views: 28
Last edited:
Level 4
Joined
Jul 5, 2012
Messages
33
I had a similar issue and fixed it with my map. This is mine but basically you do an event for whenever a unit is issued an order targetting a point then you wait 0 seconds and order that unit to stop. You have to wait because for some fucking reason the movement order isn't instant? Like you take away that 0 second delay and it flat doesn't work.

-edit how do people get that swank looking actual clickable gui code in here?
Would you be able to help me through discord? I've tried almost everything at this point lol
 
Status
Not open for further replies.
Top