i have a turret that will spawn 2 types of bullets
1st bullet will make the enemy hit into gaining "Z" status for 4 seconds
2nd bullet will make the enemy hit into gaining "A" status for 3 seconds
now :
if the enemy has no "Z" status when the 1st bullet collided with the enemy, the enemy will gain "Z" status
if the enemy ALREADY has "Z" status, then the duration will be refreshed into 3 seconds again (for anyone playing DOTA should understand, i meant to use 'orb effect' kind of thing)
if the enemy is hit by 2nd bullet, while ALREADY having the "Z" status, the status will simply add into "Z|A|", which means the enemy is AFFECTED by both effect.
dropbox.com/s/o73eymclbvu6p68/TestEffect.capx
i already made the whole 'not stacking' effect.
but i can't add the duration <img src="smileys/smiley19.gif" border="0" align="middle" />
can anyone make so that A status will be gone after the enemy is NOT hit by the 2nd bullet for 3 second, and so Z status will be gone after the enemy is not hit by the 1st bullet for 4 seconds?
and if able, the duration will be refreshed to 3 or 4 (based on the effect) if the enemy is hit again.
thanks <img src="smileys/smiley1.gif" border="0" align="middle" />
--
ah, if able, i would like for all the status effect to be placed on a string, so if i wanted to add more effect, i don't add an instance variable. well, if able —@