- Joined
- Apr 18, 2008
- Messages
- 44
I am currently attempting to create a structure that will have the ability to produce twice as much food as it normally does, but still have the capability to return to its normal form. Unfortunately all of my attempts so far have failed.
First I tried giving the ability a Bear Form based ability. But this does not work, because when the structure morphs, it begins to infinitely play its build animation. I have tried to use triggers to order it not to do so, but it has not worked so far. Is it possible to fix this?
My second attempt was giving it Immolation. When it would activate Immolation, with triggers I would add to the player's food cap, and when it was deactivated that extra food would be removed. Unfortunately the integers of how much food ought to be removed began to bug and multiple on their own. I remade the trigger, and yet it would continue to bug, removing wrong amounts of food.
My third attempt was to simply remove the structure via triggers and replace in its place the other form of the structure which provides more food. However, if this takes place when a unit is next to the structure, then the structure feels as though there is not enough space where the older form was, and so the triggers create the newer one a bit off from where the older one was. Jumping structures - while amusing - are something I would like to avoid. Is there any way to possibly make the nearby unit(s) not interfere with the structure?
First I tried giving the ability a Bear Form based ability. But this does not work, because when the structure morphs, it begins to infinitely play its build animation. I have tried to use triggers to order it not to do so, but it has not worked so far. Is it possible to fix this?
My second attempt was giving it Immolation. When it would activate Immolation, with triggers I would add to the player's food cap, and when it was deactivated that extra food would be removed. Unfortunately the integers of how much food ought to be removed began to bug and multiple on their own. I remade the trigger, and yet it would continue to bug, removing wrong amounts of food.
My third attempt was to simply remove the structure via triggers and replace in its place the other form of the structure which provides more food. However, if this takes place when a unit is next to the structure, then the structure feels as though there is not enough space where the older form was, and so the triggers create the newer one a bit off from where the older one was. Jumping structures - while amusing - are something I would like to avoid. Is there any way to possibly make the nearby unit(s) not interfere with the structure?