I made a load/unload ability, and I managed to apply a buff to the ship when he is loading a cargo. However, I would like to remove that buff when the cargo is unloaded from the ship ... How can I do that ? I tried applying a buff that disables the first buff when unloading, but with this method, the first buff is not appliable anymore if units come back in the ship :(
Help please ! (Data only please, a requirement would be the best)
Edit 1 : Oh and also, how do I make an ability only available while having a unit loaded ? (Again, a requirement that would make the ability only available while having unit(s) loaded inside, would be best)
Hi, I have a little problem ...
I made a load/unload ability, and I managed to apply a buff to the ship when he is loading a cargo. However, I would like to remove that buff when the cargo is unloaded from the ship ... How can I do that ? I tried applying a buff that disables the first buff when unloading, but with this method, the first buff is not appliable anymore if units come back in the ship :(
Help please ! (Data only please, a requirement would be the best)
Edit 1 : Oh and also, how do I make an ability only available while having a unit loaded ? (Again, a requirement that would make the ability only available while having unit(s) loaded inside, would be best)
Just use a remove behavior effect when the transport unloads.
Issue 2, just use a compare unit cargo validator for the behavior.
@JacktheArcher: Go
Ok, now I feel really stupid for not thinking about this ... Thank you very much sir :p