Lief1606 Posted October 14, 2016 Author Share Posted October 14, 2016 So, when I put a paperdoll in a weapon, when the player is walking/looking up the paperdoll draws below the player, I wanted it to draw above him.Explaining with images:I wanted it to be like this: ![](http://i.imgur.com/8Ehm6nR.png)(It worked because I changed the item type to armor for testing purposes)But it shows like this: ![](http://i.imgur.com/D1N9ien.png)Does anyone knows how to "fix" it? Link to comment Share on other sites More sharing options...
Growlith1223 Posted October 14, 2016 Share Posted October 14, 2016 take a look at the sub DrawPlayer, you'll see something along the lines of DrawPaperdoll, now look at the order of rendering with the player and the paperdolls, that should give you an idea Link to comment Share on other sites More sharing options...
Lief1606 Posted October 14, 2016 Author Share Posted October 14, 2016 @'Growlith1223':> take a look at the sub DrawPlayer, you'll see something along the lines of DrawPaperdoll, now look at the order of rendering with the player and the paperdolls, that should give you an ideaTook me 3 minutes to figure it out, just needed to put the draw weapon code after the draw armor code. Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now