I am setting up a region that follows a unit, this region will periodically spawn units inside it at random locations to attack the target. The only issue that is stopping me from accomplishing this seemingly simple task is..
I cant restrict the enemy units from spawning right next to the player unit.
I have found the action "random spawn point". This action seems to define exactly what I want. I want to specify a range between the player unit and the closest spawnable point so that a unit is not created so close. But alas it doesnt work at all for me.
Regardless, the idea is to make sure units dont spawn on top or right next to my player unit... using the named function isnt required, so any solution would help. Please
and thank you.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I am setting up a region that follows a unit, this region will periodically spawn units inside it at random locations to attack the target. The only issue that is stopping me from accomplishing this seemingly simple task is..
I cant restrict the enemy units from spawning right next to the player unit.
I have found the action "random spawn point". This action seems to define exactly what I want. I want to specify a range between the player unit and the closest spawnable point so that a unit is not created so close. But alas it doesnt work at all for me.
Regardless, the idea is to make sure units dont spawn on top or right next to my player unit... using the named function isnt required, so any solution would help. Please
and thank you.