Page 1 of 1

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

Posted: Thu Sep 06, 2018 7:46 am
by pointbreak
How can I do that?

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

Posted: Thu Sep 06, 2018 4:01 pm
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 ;)