- Joined
- Jul 26, 2008
- Messages
- 1,009
I've seen it done in Castle Fight and WC3 the Card Game. How do you have a unit that is considered the players own unit, but block off any buttons used by it so that the unit is A.I. controlled and cannot be interferred with by the player itself?
I want to do this for a game of mine where the player tames a monster but they use buttons in a spell book to control it. However it can not be red who tames it and it's under another colors control. It has to still be considered reds unit. But selecting the unit and right clicking will not make it move or attack where you right clicked. It'll be as if it's under a computer's control.
Also, if the unit I want control to be removed from is a hero, will this cause a problem?
Thanks for any help. I know this can be done, but I have absolutely no clue on how people do it. Pointing me to tutorials or systems others have created to do this would be a great help as well
I want to do this for a game of mine where the player tames a monster but they use buttons in a spell book to control it. However it can not be red who tames it and it's under another colors control. It has to still be considered reds unit. But selecting the unit and right clicking will not make it move or attack where you right clicked. It'll be as if it's under a computer's control.
Also, if the unit I want control to be removed from is a hero, will this cause a problem?
Thanks for any help. I know this can be done, but I have absolutely no clue on how people do it. Pointing me to tutorials or systems others have created to do this would be a great help as well
Last edited: