|
you can't create scarabs through triggers. you must preplace some reavers somewhere else on the map and make them fire at an enemy unit. it is suggested that you should create the reavers at different times so that you can have some scarabs moved when needed. if you created them all at once and make them fire all at the same time, there's a chance you won't get any moved at all and because reavers have a pretty high cooldown rate.
you can then move the fired scarabs with triggers. you also must use 2 ai scripts in the trigger; -set generic command target -make these units patrol (this is an ai script, not an 'order' trigger action) the set generic command target erases their current order - to attack the enemy unit the reaver is ordered to, to set their target on something else and the other ai script tells it to be able to attack things. ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
|
The reaver must have something to attack so the scarab comes out, then use the move/control triggers with the locations. Just get Falk's test compilation it has stuff there.
http://falkoner.cow.googlepages.com/Maps.html ![]() ![]() ![]() ![]() ![]() ![]() INSERT SIGNATURE HERE INSERT SIGNATURE HERE INSERT SIGNATURE HERE INSERT SIGNATURE HERE INSERT SIGNATURE HERE INSERT SIGNATURE HERE INSERT SIGNATURE HERE |
|
Taking StarCraft Map Making to the Limit!
|
If the player does not own the reaver, the player can be splashed by the scarab. I think that if you try to give them to another player they explode, but I might be wrong, I assume that since if you try to preplace scarabs they die, so I assume they have to have a scarab.
To target the enemy, center a location on the enemy, then use the AI: Set Generic Command Point, and set it to that centered location, then run the Make these Units Patrol AI. |