HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How do you take the Food Limit off a map?

09-13-2002, 02:36 AM#1
TheLimpOne
I'm currently making a melee map, and was thinking that taking off the food limit would be pretty cool, so does anyone know how to do so?
09-13-2002, 02:37 AM#2
Klintel
In the unit editor, Edit how much food the unit needs.
09-13-2002, 02:47 AM#3
TheLimpOne
I guess there are no types of triggers that can just disable the Food Limit entirely eh?
09-13-2002, 02:53 AM#4
Klintel
No not that I know of.
09-13-2002, 09:02 PM#5
Squash_Monster
Events- (two ways here)
Unit made/revived/bought/dies/whatever (all of them)
or...
Every 0.1 (or as high as you can go without looking bad) seconds

Actions-
Pick all players and set food used to 0


This will just set the amount of food being used to nothing. If you would like to keep farms in, its more complicated...

Events- (use the first one from the other one)
Actions-
Set variable to 0 (just an integer)
Pick all units owned by (I think you will need to do this seperately for each player) and do action - Set variable (that one you just set to 0) to (same variable + picked units supply provided)
(do the same thing with another variable for supply used)
If (supply used + trained units supply used) is greater than (supply provided) then (cancel unit)
(repeat that last one with an upkeep message instead of cancle)
09-13-2002, 09:21 PM#6
Guest
yes the limpone........................