it may be possible to create a validator that checks the "owner controller status"........
but why not just make two completely different units... why would you give a computer a different set of abilities then the players?
unless your trying to make some kinda "ai" but auto cast really isnt a good "ai" mechanic....
you could also give the unit a behavior that auto casts the ability.
then create an trigger that fires when ever this kind of unit is created and if the unit is owned by something other then a "computer" then remove the behavior and it will no longer autocast....
You could also create a validator that requires some kind of cutom upgrade to have been researched by a player.....
make a custom upgrade called "player is computer"
and at the begging of the game have a trigger increment this upgrade for the computer players so that the computer players will pass that validator that checks for the upgrade.
only allows the computer to autocast and not let any users autocast the ability?
create two abilities which start the same effect
the ai one is hidden
edit: you may need a trigger to active the autocast whenever the controller/creator of the unit is an computer
@b0ne123: Go
it may be possible to create a validator that checks the "owner controller status"........
but why not just make two completely different units... why would you give a computer a different set of abilities then the players?
unless your trying to make some kinda "ai" but auto cast really isnt a good "ai" mechanic....
you could also give the unit a behavior that auto casts the ability.
then create an trigger that fires when ever this kind of unit is created and if the unit is owned by something other then a "computer" then remove the behavior and it will no longer autocast....
You could also create a validator that requires some kind of cutom upgrade to have been researched by a player.....
make a custom upgrade called "player is computer"
and at the begging of the game have a trigger increment this upgrade for the computer players so that the computer players will pass that validator that checks for the upgrade.