HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Regrowth Bug

05-06-2004, 05:14 AM#1
Pheonix-IV
Ok, i know this has been said before about regrowth working without you finishing the tree, but it really needs to be addressed. I dont know how you did it but i'm pritty sure these GUI Triggers would fix the problem.

Requirements: 1 unit group variable
Trigger 1
Event - Unit Finishes Construction
Condition - Constructed unit equal to redwood tree
Action - Add constructed unit to redwoodtreegroup

Trigger 2
Event - Every (Enter number of seconds here)
Action - Pick every unit in redwoodtreegroup and do the following actions
If picked unit is owned by player 1 then do set player one lumber to current amount of player one lumber + picked unit times 3 (or whatever) else do nothing. Repeat for all players

Trigger 3
Even - Unit Dies
Condition - Dieing unit equal to redwood tree
Action - Remove dieing unit from redwoodtreegroup


I'm not at home right now and dont have access to my editor so i dont know if this will work correctly or not, i think it should. Dont flame me for trying to help, and if you already have the issue fixed then you can ignore me, i'm just making a suggestion.

Btw, no offence intended, but you guys really need to listen to critisism about things such as animations and other bugs.