how to delete account Posted April 20, 2019 Basically, i want to make sort of a spring actor. When picked up, it would launch the player in the air. How do i do that? 0 Quote Share this post Link to post
1 Empyre Posted April 21, 2019 No. Since it would then be an item in the player's inventory, it would thrust the player. As an example, here is the alt-fire of a weapon I made, which makes the player fly. It calls A_ChangeVelicity twice, once to stop the player from falling if he is, then again to thrust him upwards. AltFire: NECR BC 3 TNT1 A 0 A_JumpIf(velz >= 0, "NotFalling") TNT1 A 0 A_ChangeVelocity(velx,vely,0,CVF_REPLACE) //pass through NotFalling: NECR D 7 A_ChangeVelocity(0,0,20) NECR C 3 NECR B 3 NECR A 3 A_ReFire Goto Ready 0 Quote Share this post Link to post
0 Empyre Posted April 21, 2019 This should help: https://zdoom.org/wiki/A_ChangeVelocity 0 Quote Share this post Link to post
0 how to delete account Posted April 21, 2019 37 minutes ago, Empyre said: https://zdoom.org/wiki/A_ChangeVelocity Won't it change velocity of itself? 0 Quote Share this post Link to post
0 how to delete account Posted April 21, 2019 4 minutes ago, Empyre said: No. Since it would then be an item in the player's inventory, it would thrust the player. Ok, so it will work with inventory.autoactivate, right? 0 Quote Share this post Link to post
Question
how to delete account
Basically, i want to make sort of a spring actor. When picked up, it would launch the player in the air. How do i do that?
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.