Mega Man 8-bit Deathmatch > Pending
[BUG] Treble Sentry Targting Issues
(1/1)
Binary_Newer:
If Treble Sentry's "target" pointer leaves its radius, and another player is also near it, Treble will refuse to target anyone else. Here's a quick fix for this that clears the tracer every time Treble finishes firing.
--- Code: ---Missile:
TRBL A 0 A_SeekerMissile(4, 10, SMF_PRECISE)
TRBL A 0 A_JumpIfInventory("CutterFlag",25,"Death")
TRBL A 0 A_PlaySoundEx("misc/devilfire","Voice")
TRBL A 0 A_FaceTracer(0, 0)
TRBL I 5 A_CustomMissile("TrebleShot",10,0,0,CMF_AIMDIRECTION, pitch)
TRBL I 0 A_PlaySoundEx("misc/devilfire","Voice")
TRBL A 0 A_FaceTracer(0, 0)
TRBL I 5 A_CustomMissile("TrebleShot",10,0,0,CMF_AIMDIRECTION, pitch)
TRBL I 0 A_PlaySoundEx("misc/devilfire","Voice")
TRBL A 0 A_FaceTracer(0, 0)
TRBL I 5 A_CustomMissile("TrebleShot",10,0,0,CMF_AIMDIRECTION, pitch)
TRBL A 0 A_GiveInventory("CutterFlag",2)
TRBL A 0 A_JumpIfInventory("CutterFlag",35,"Death")
TRBL A 0 A_SeekerMissile(4, 10, SMF_PRECISE)
TRBL A 0 A_PlaySoundEx("misc/devilfire","Voice")
TRBL A 0 A_FaceTracer(0, 0)
TRBL I 5 A_CustomMissile("TrebleShot",10,0,0,CMF_AIMDIRECTION, pitch)
TRBL I 0 A_PlaySoundEx("misc/devilfire","Voice")
TRBL A 0 A_FaceTracer(0, 0)
TRBL I 5 A_CustomMissile("TrebleShot",10,0,0,CMF_AIMDIRECTION, pitch)
TRBL I 0 A_PlaySoundEx("misc/devilfire","Voice")
TRBL A 0 A_FaceTracer(0, 0)
TRBL I 5 A_CustomMissile("TrebleShot",10,0,0,CMF_AIMDIRECTION, pitch)
TRBL A 0 A_GiveInventory("CutterFlag",2)
TRBL A 0 A_RearrangePointers(AAPTR_DEFAULT,AAPTR_DEFAULT,AAPTR_NULL)
TRBL A 4
TRBL C 0 A_JumpIfTargetInLOS("Missile", 0, JLOSF_PROJECTILE)
TRBL A 2
Goto Looking
--- End code ---
Navigation
[0] Message Index
Go to full version