Shippous Posted September 6, 2012 Author Share Posted September 6, 2012 Eclipse Advanced 3.0.8Ok, i can use events to change the player Sprite, but how i make it back to the original?Someone can help me with that? Link to comment Share on other sites More sharing options...
Stein Posted September 6, 2012 Share Posted September 6, 2012 You don't, unless you store what their original sprite was somewhere and revert it to that value. Link to comment Share on other sites More sharing options...
Shippous Posted September 6, 2012 Author Share Posted September 6, 2012 And how i do that? '-' Link to comment Share on other sites More sharing options...
Stein Posted September 6, 2012 Share Posted September 6, 2012 With the event system, you can't. You'll need to write a custom case that stores and retrieves the sprite number and change it accordingly. Link to comment Share on other sites More sharing options...
Shippous Posted September 6, 2012 Author Share Posted September 6, 2012 Thanks, i'll use some tutorials (like the transformation one) to take as base, thanks ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png) Link to comment Share on other sites More sharing options...
Ganjika Posted September 8, 2012 Share Posted September 8, 2012 > Eclipse Advanced 3.0.8> > Ok, i can use events to change the player Sprite, but how i make it back to the original?> > Someone can help me with that?I am uber curious about how to do this, if you figure it out - It would be -epic- if you put out a tutorial for the community, either way ; thanks for reading! =] Link to comment Share on other sites More sharing options...
abhi2011 Posted September 8, 2012 Share Posted September 8, 2012 Just save it into the player files. When you need to revert it just retrieve and then change it. Link to comment Share on other sites More sharing options...
Ganjika Posted September 8, 2012 Share Posted September 8, 2012 > Just save it into the player files. When you need to revert it just retrieve and then change it.I'm still learning =P, How would I go about doing that? Link to comment Share on other sites More sharing options...
abhi2011 Posted September 8, 2012 Share Posted September 8, 2012 Add a UDT to PlayerRec. A long. Save a players sprite number in it. Then when he changes it store the old one. (It should auto actually)Then when an event needs it to change it back call it and then set it. Link to comment Share on other sites More sharing options...
Ganjika Posted September 8, 2012 Share Posted September 8, 2012 > Add a UDT to PlayerRec. A long. Save a players sprite number in it. Then when he changes it store the old one. (It should auto actually)> > Then when an event needs it to change it back call it and then set it.modtypes (client)```Private Type PlayerRec' Generalname As StringClass As LongSprite As LongLevel As ByteEXP As LongAccess As BytePK As Byte```went to do it (using dragon eclipse) i see something similar there already in both server and client under modtypes.is it already setup? If so how do i call and set it? =P thanks for your feedback. Link to comment Share on other sites More sharing options...
Link Posted September 8, 2012 Share Posted September 8, 2012 Keep in mind if you want to go a little more advanced you could always make the player revert to his/her original sprite with a command such as /switch or /original or something, but of course you'd have to create the code for that command etc. Link to comment Share on other sites More sharing options...
or3o Posted September 9, 2012 Share Posted September 9, 2012 [http://www.touchofdeathforums.com/community/index.php?/topic/109566-eo-transformation-spell/](http://www.touchofdeathforums.com/community/index.php?/topic/109566-eo-transformation-spell/)look at the post near the bottom by Whitepinkbun he pretty much explains how to do it. 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