Quote:
Originally Posted by rothia
Palavia -->One question: how do u resolve the problem of whom npc is attack u?
U set a timer? because a interceptor in 30 second is killed but for kill an annilator 130 seconds or more it take!
|
As he said before
He made it by PixelChecksum if he shooting
Code:
Func Fire()
While 1
$fire1 = PixelChecksum ( $xs+160, $ys+19, $xs+176, $ys+25 )
If $fire<>$fire1 Then
ExitLoop
EndIf
Quote:
Originally Posted by palavia
for $fire1 : with it I check if I already shoot or not ( changing laser ammunitions ). I have $fire checked befor it! ;)
|
I trying to build it too. But I still did not find out what call that
Fire() function.
That must be HP check and get reading before enter cuz in
fire () is
Code:
Life()
If $life>=$lifeR Then
ExitLoop
EndIf
that could mean $lifeR is check before and if not lower (nothing shooting me, hit by mine ..etc) exit
its so hard make it logic...