I cannot figure out how to fix this. The weapon sprites work fine and appear as they should, but when I try to spawn one in the sprite appears for one tick before moving down into the ground.
Here is the code in slade:
ACTOR pocketcannon : weapon 15000
{
weapon.selectionorder 1200
weapon.ammouse 5
weapon.ammotype "rocketammo"
weapon.slotnumber 4
weapon.ammogive 200
inventory.pickupmessage "You got the pocket-cannon!"
obituary "%o was eviserated by %k's pocket-cannon."
Attacksound "minigun/shred"
states
{
ready:
POCG A 1 A_weaponready
loop
select:
POCG A 0 A_raise
goto ready
deselect:
POCG A 0 A_lower
loop
fire:
POCG A 4 A_Firemissile
POCG B 4
POCG C 4
POCG D 4
POCG E 4
POCG D 4
POCG B 4
goto ready
Question
HollowKnightPOG
I cannot figure out how to fix this. The weapon sprites work fine and appear as they should, but when I try to spawn one in the sprite appears for one tick before moving down into the ground.
Here is the code in slade:
ACTOR pocketcannon : weapon 15000
{
weapon.selectionorder 1200
weapon.ammouse 5
weapon.ammotype "rocketammo"
weapon.slotnumber 4
weapon.ammogive 200
inventory.pickupmessage "You got the pocket-cannon!"
obituary "%o was eviserated by %k's pocket-cannon."
Attacksound "minigun/shred"
states
{
ready:
POCG A 1 A_weaponready
loop
select:
POCG A 0 A_raise
goto ready
deselect:
POCG A 0 A_lower
loop
fire:
POCG A 4 A_Firemissile
POCG B 4
POCG C 4
POCG D 4
POCG E 4
POCG D 4
POCG B 4
goto ready
spawn:
POCS A -1
}
}
Demonstration of issue:
Share this post
Link to post
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.