ok. so im working on a map. (any surprise there?) and of course ive hit a snag.
im working on trying to get some computer controlled ghosts to attack while cloaked. sounds easy, i thought so too, but apparently it aint.
i use a trigger to spawn the ghosts cloaked. the ghosts then proceed to just stand there. no attacks whatsoever against any enemy units.
i have tried using the different order commands, even junk yard dog... and i have also tried using the different AI scripts. nothing seems to work.
is there something i did that you think i did wrong? does someone know a way to get them to attack? help would be nice!
None.
Sleeping wolves wake hungry.
They usually attack if something's attacking them.
Ghosts don't attack while cloaked, unless specifically told so, even while under human control. I believe what you are going to need to do, is spawn them uncloaked, have them be attacked, and when they are attacked they will cloak and continue firing. Make sure they have the energy to cloak, and have the cloaking upgrade. You will probably also want to disable the lock down.
None.
Ghosts don't attack while cloaked, unless specifically told so, even while under human control. I believe what you are going to need to do, is spawn them uncloaked, have them be attacked, and when they are attacked they will cloak and continue firing. Make sure they have the energy to cloak, and have the cloaking upgrade. You will probably also want to disable the lock down.
if the ghosts are enemies of human players they will attack the player without a second thought. but they will not attack an enemy comp. i cant figure out why.
i would REALLY like to NOT spawn them uncloaked. doing so would completely ruin the entire reason im spawning them cloaked.
also, everything you mentioned about having cloak researched etc. i have done. but you mentioned that will attack if told to do so. did i do something wrong with the ai or order triggers? or do you mean manually?
None.
I meant manually. If you want them to attack each other, one will have to be uncloaked and have vision of the other.
None.
i have been reading a thread that discusses a method of cloaking almost any unit. (title is something about cloaking creep colonies or something) do the units cloaked in this way act the same as these ghosts are?
None.
Ghosts are designed to not attack when cloaked because they have to sneak in and do a nuclear strike. It's part of their default AI. No other unit has it.
"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"
We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch
It might work to create them uncloaked in a area off the playing field have them be attacked there, so they cloak and then move them where you need them.
When it comes to AI you generally have to be creative to get it to do what you want.
ty raider. thats an idea. i might try that.
None.