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: 34
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 » Thu Sep 06, 2018 7:46 am

How can I do that?

SirCake
Posts: 262
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 » Thu Sep 06, 2018 4:01 pm

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