Make creeps spawn units in area repeatedly when any player has units in it

Information and discussion for custom maps and mods.
Post Reply
pointbreak

Make creeps spawn units in area repeatedly when any player has units in it

Post by pointbreak »

.
Last edited by pointbreak on Sun Apr 20, 2025 10:54 am, edited 1 time in total.

SirCake
Posts: 393
Joined: Thu Feb 04, 2016 5:40 pm

Re: Make creeps spawn units in area repeatedly when any player has units in it

Post by SirCake »

You have to use Lua script for that.
Thats the scripting language OpenRA uses for missions.
See https://github.com/OpenRA/OpenRA/wiki/Lua-API
Use Trigger.OnEnteredProximityTrigger(...)
to detect units entering a circle, and
Actor.Create(...) to spawn units on a location.

If you never programmed before, this will be hard/impossible for you to do, but I can answer questions if you really want it to work that way ;)

Post Reply