update :
i've tried to make the casting of skill into a function.
<img src="https://dl.dropboxusercontent.com/u/158057323/c2%20ManualCast.JPG" border="0" />
works like charm, this works as fine as before
then i changed the autocast code too :
<img src="https://dl.dropboxusercontent.com/u/158057323/c2%20AutoCast.JPG" border="0" />
doesn't work......only works to the first tower affected by the autocast, if i had 2 or more instance of 'mana tower', it won't autocasts. any idea why?
this is the .capx of my update :
dropbox.com/s/ksw5ryf223qyzvf/reololo.capx
if you clicked on the atkpoint (that small yellow circle), you can see that the code from
<img src="https://dl.dropboxusercontent.com/u/158057323/c2%20AutoCast.JPG" border="0" />
actually works.
it changes the instance variable of 'Zeal' into 1, but it does not call "SkillActivate" function.....
or maybe the SkillActivate function got an error because the first tower keeps calling it? how to stop it then?
-----------
pffffffffftttttt....
okay, after looking it through, i know what's wrong, now autocast and manual cast works.
i've tried this for 2 days already, posting it here sure help :3
<img src="smileys/smiley36.gif" border="0" align="middle" /> <img src="smileys/smiley4.gif" border="0" align="middle" /> <img src="smileys/smiley1.gif" border="0" align="middle" /> <img src="smileys/smiley17.gif" border="0" align="middle" /> <img src="smileys/smiley2.gif" border="0" align="middle" />