you have to check the flag "ignore clifftest" in order to spawn units at closest point possible ignoring the cliff level.
can you post your map with cliffs? i have no problems here.
the big advantage of the effect solution is that you dont have to find an alternativ point if a condition fails. it falls back to an blizz algorithm (which is hopefully most effient).
use an "create unit" effect at random point of map. this will automatically create the unit at the closest point possible.
use catalog triggers to set the unittype of the effect first.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
you have to check the flag "ignore clifftest" in order to spawn units at closest point possible ignoring the cliff level.
can you post your map with cliffs? i have no problems here.
the big advantage of the effect solution is that you dont have to find an alternativ point if a condition fails. it falls back to an blizz algorithm (which is hopefully most effient).
you are lucky, i am nice today
left click to spawn a space marine at a random location on the map, everything except the grey areas are unpathable.
yes but you can use catalogs to change the unittype if needed.
use an "create unit" effect at random point of map. this will automatically create the unit at the closest point possible.
use catalog triggers to set the unittype of the effect first.