Whackeddie99 Posted June 28, 2012 Author Share Posted June 28, 2012 Okay, so I wanted to make it so your players paperdolls are invisible at one point, and they are invisible for all others players too. So I made some packets and built a little off of this tutorial:[http://www.touchofdeathforums.com/smf/index.php/topic,75842.0.html](http://www.touchofdeathforums.com/smf/index.php/topic,75842.0.html)but then I realized…wouldn't it make all paperdoll's invisible, and only for you? So how would I go about making your paperdolls only invisible for you and every other player? Do i need a new Boolean in playerrec, like ShowPaperdolls? How would i put it in BltPaperdoll so that it doesn't show your paperdolls? If somebody helps me with this i will love them! Link to comment Share on other sites More sharing options...
Alatar Posted June 28, 2012 Share Posted June 28, 2012 What you need to do is that when a player is going to be shown on screen make a check. If it has the showpaperdolls desactivated then do not blt the proper graphics. You have to do this with other players rather than just with yourself. Check the dd7 for when the client is drawing other players. Link to comment Share on other sites More sharing options...
Whackeddie99 Posted June 28, 2012 Author Share Posted June 28, 2012 @Alatar:> What you need to do is that when a player is going to be shown on screen make a check. If it has the showpaperdolls desactivated then do not blt the proper graphics. You have to do this with other players rather than just with yourself. Check the dd7 for when the client is drawing other players.I don't want all paperdolls invisible, just mine. So all players do not see MY paperdoll. Link to comment Share on other sites More sharing options...
Alatar Posted June 28, 2012 Share Posted June 28, 2012 In that case you could make something like check the player name, if it's you then hide paperdoll stuff. Link to comment Share on other sites More sharing options...
Whackeddie99 Posted June 28, 2012 Author Share Posted June 28, 2012 @Alatar:> In that case you could make something like check the player name, if it's you then hide paperdoll stuff.Then it would only hide my paperdoll for ME. What about the other players? Link to comment Share on other sites More sharing options...
Stein Posted June 28, 2012 Share Posted June 28, 2012 Set an option in the player data and send it back and forth when it changes.. Then act accordingly. Link to comment Share on other sites More sharing options...
Alatar Posted June 29, 2012 Share Posted June 29, 2012 @gooby:> Then it would only hide my paperdoll for ME. What about the other players?Think about it. If you make such a check in the way that the client display YOUR paperdoll, it will hide it for everyone using that client. 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