Make creeps spawn units in area repeatedly when any player has units in it
-
- Posts: 44
- Joined: Mon Jul 23, 2018 10:54 am
Make creeps spawn units in area repeatedly when any player has units in it
How can I do that?
Re: Make creeps spawn units in area repeatedly when any player has units in it
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
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