Hi Helpers,
im on a special tower for my td. the basic idea of the tower is to make him use a custom impale (basic damage 1-1) dealing xtradamage for the summary of all players towers base damage. So i dont think there is a way to detect how much base damage a unit has so i decided to set an integer array by myself and count the damage. But i dont know how to detect if a tower got an upgrade and now has level x.
so my basic idea was:
a unit enters playable map area.
if entering unit is tower X lvl 1
then set damage[] = damage [] + basedamage1
else
if entering unit is tower X lvl 2
then set set damage[] = damage [] + basedamage1 + Y
but that will only work for towers level 1. anybody a smart idea how to solve this lagless/leakless and short ?
bye
raizn
im on a special tower for my td. the basic idea of the tower is to make him use a custom impale (basic damage 1-1) dealing xtradamage for the summary of all players towers base damage. So i dont think there is a way to detect how much base damage a unit has so i decided to set an integer array by myself and count the damage. But i dont know how to detect if a tower got an upgrade and now has level x.
so my basic idea was:
a unit enters playable map area.
if entering unit is tower X lvl 1
then set damage[] = damage [] + basedamage1
else
if entering unit is tower X lvl 2
then set set damage[] = damage [] + basedamage1 + Y
but that will only work for towers level 1. anybody a smart idea how to solve this lagless/leakless and short ?
bye
raizn