Doomsday Posted October 28, 2019 How do I add an animation for when you select a weapon? 1 Quote Share this post Link to post
1 Barry Burton Posted October 30, 2019 (edited) On 10/28/2019 at 7:54 PM, Doomsdλy1993 said: How do I add an animation for when you select a weapon? In Decorate this is pretty easy. You just add whatever frames to your Select state. This is a snippet from Metroid Dreadnought, a more advanced example: Deselect: PBEM RSTUVW 1 A_WeaponReady(WRF_NOFIRE | WRF_NOSWITCH) TNT1 A 0 A_JumpIfHealthLower(1, "DeadLower") XBEM A 5 A_WeaponReady(WRF_NOFIRE | WRF_NOSWITCH) TNT1 AAAAAAAAAAAAAAAAAAAA 0 A_Lower XBEM A 0 A_Lower loop Here's what it looks like in action: So all you really need is your own frames in your Select state. You can get fancier and add some to your Deselect state too if you want an animation like above. Edited October 30, 2019 by R4L 1 Quote Share this post Link to post
Question
Doomsday
How do I add an animation for when you select a weapon?
Share this post
Link to post
1 answer 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.