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
Posts: 44
Joined: Mon Jul 23, 2018 10:54 am

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

Post by pointbreak »

How can I do that?

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