Hey, I am working on a feature to capture areas that can be taken control back and forth based on the amount of units currently at the location. Taking control of an area is not instant, but rather dependent on how many units are in the area to speed up the process. My reason for this thread is I have not entirely come up with a good logical way of doing this. I am not necessarily requesting actual code, but rather any ideas of how I might approach this. For example, I have considered a structure that loses and gains health based on the units trying to defend/capture it. When the life reaches zero, it would become neutral until it has gained full health again to which the greater side would gain control. This is just an example, if anyone has any ideas please reply. I will appreciate it greatly!
Thanks
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hey, I am working on a feature to capture areas that can be taken control back and forth based on the amount of units currently at the location. Taking control of an area is not instant, but rather dependent on how many units are in the area to speed up the process. My reason for this thread is I have not entirely come up with a good logical way of doing this. I am not necessarily requesting actual code, but rather any ideas of how I might approach this. For example, I have considered a structure that loses and gains health based on the units trying to defend/capture it. When the life reaches zero, it would become neutral until it has gained full health again to which the greater side would gain control. This is just an example, if anyone has any ideas please reply. I will appreciate it greatly!
Thanks