You mean simply this:
Code:REM Kill the 14th IMP IF(PLAYER0,IMP >= 14) NEXT_COMMAND_REUSABLE KILL_CREATURE(PLAYER0,IMP,LEAST_EXPERIENCED,1) ENDIF
You mean simply this:
Code:REM Kill the 14th IMP IF(PLAYER0,IMP >= 14) NEXT_COMMAND_REUSABLE KILL_CREATURE(PLAYER0,IMP,LEAST_EXPERIENCED,1) ENDIF
Yes, after 14th one, no extra imps is allowed to create, no matter what is the current amount
The script I posted works.
If you have something similar that doesn't work as you want it to, post it and I'll have a look at why not.
Doesn't work with IF_CONTROLS, but that works. No problem, I made already a little compromise on my map
I see. That's a bug.
Reported: https://code.google.com/p/keeperfx/issues/detail?id=516
Edit: Fixed in latest nightly.
Last edited by YourMaster; February 26th, 2015 at 09:42.