13lade619
is now a game developer :)
- Reaction score
- 399
since everyone is always complaining about 'recycle your dummy units' on systems.. can i request a simple recycling system?
here's a framework:
*if there is already such system, direct me there .
here's a framework:
Code:
Global constant MAXDUMMIES = max amount of dummies in map
Global constant DUMMYTYPE = rawcode of dummy units.
function GetDummy() <-- returns a dummy unit to be used
function RecDummy(unit) <-- recycles the given dummy, when finished using it return it to list of unused dummies.
the system will just give you a unit to use, you do anything you want with it.
then return the unit to the unused list after.
*if there is already such system, direct me there .