Doom_master1122 Posted August 30, 2007 I'm trying to get a missile attack going on one of my DECORATE monsters and it doesnt work unless its a melee attack. He is supposed to throw a bouncing hammer it shows up but only if im close to him then back away really quick Yeah i know i overwrote the SPOS sprites. dunno why i did it but anyway actor Constructdude 10005 { spawnid 159 obituary "%o was hit in the head by a hammer." health 150 radius 20 height 56 mass 100 speed 11 painchance 200 meleedamage 6 MONSTER +FLOORCLIP +MISSILEEVENMORE Missiletype Hammer Missileheight 16 states { Spawn: SPOS AB 10 A_Look loop See: SPOS AABBCCDD 4 A_Chase loop Melee: Missle: SPOS E 10 A_FaceTarget SPOS F 5 A_ComboAttack SPOS E 8 goto See Pain: SPOS G 3 SPOS G 3 A_Pain goto See Death: SPOS H 5 SPOS I 5 A_Scream SPOS J 5 A_NoBlocking SPOS K 5 SPOS L 5 SPOS M -1 stop XDeath: SPOS N 5 A_XScream SPOS O 5 A_NoBlocking SPOS PQRST 5 SPOS U -1 stop Raise: SARG KJIH 5 goto See } } Then my hammerACTOR Hammer { height 8 radius 6 damage 5 speed 10 renderstyle normal alpha 1 PROJECTILE +RANDOMIZE +HEXENBOUNCE -NOGRAVITY +NOEXPLODEFLOOR states { Spawn: HAMR A 4 bright loop Death: HAMR A -1 bright any one see the problem why its not going properly? 0 Share this post Link to post
Steeveeo Posted August 30, 2007 it may be the part where you left the Melee attack without frames, and the engine could be thinking that the missile attack is actually a melee attack: Melee: Missle: You can leave out the Melee: stage entirely, but leaving it without any frames will cause problems. 0 Share this post Link to post
Doom_master1122 Posted August 30, 2007 nope.... did nothing. now he walks around following me, doing absolutely nothing. this is driving me insane. ive been working on it the past hour 0 Share this post Link to post
Doom_master1122 Posted August 31, 2007 i got it.... i feel so stupid... i miss spelt missile 0 Share this post Link to post