Hi all!
Firstly, I'd like to apologise if this subject was discussed somewhere but I wasn't able to find it. If so, getting pointed to it would be highly appreciated!
Now the crux of my problem.
In a map of several Players and a Computer, there is a computer controlled building with abilities that players can use -but- the issue is that the computer casts them at the first opportunity and wastes the CD. I want to prevent computer from casting them but still allowing players to use them. I tried with triggers that apply Stop command whenever computer uses a spell but that prevents other continuous action from happening. Tried applying a custom upgrade through a trigger when a spell is bought so only players have the requirements but that still leaves players unable to cast as they are greyed out (because computer is missing the upgrade).
Is there a way to make it so that the computer unit doesn't cast them until players decide to?
Thank you in advance!
Firstly, I'd like to apologise if this subject was discussed somewhere but I wasn't able to find it. If so, getting pointed to it would be highly appreciated!
Now the crux of my problem.
In a map of several Players and a Computer, there is a computer controlled building with abilities that players can use -but- the issue is that the computer casts them at the first opportunity and wastes the CD. I want to prevent computer from casting them but still allowing players to use them. I tried with triggers that apply Stop command whenever computer uses a spell but that prevents other continuous action from happening. Tried applying a custom upgrade through a trigger when a spell is bought so only players have the requirements but that still leaves players unable to cast as they are greyed out (because computer is missing the upgrade).
Is there a way to make it so that the computer unit doesn't cast them until players decide to?
Thank you in advance!