dashe123 Posted July 19, 2011 Share Posted July 19, 2011 What function or script do I use if I want to make something like this: If you step on a marker it changes your skin from skin A to skin B and when you step on it again it changes your skin from skin B to skin A? P.S. I already made a "from skin A to skin B" script but how do I make it "from skin B to skin A" (to get your default skin back)? Link to comment
Discord Moderators Zango Posted July 19, 2011 Discord Moderators Share Posted July 19, 2011 On hit: skin = not skin skin false = some skin skin true = some other skin just one method. probably kinda weird but just to demonstrative a way to toggle in LUA. why not just something like if (getElementModel(player) == skinA) then setElementModel(player, skinB) else setElementModel(player, skinA) end Link to comment
allyman Posted August 19, 2011 Share Posted August 19, 2011 That's pretty accurate based on what I know. Dashe, did you ever get the fix implemented in your mod scheme? I have been discovering lately a new way to organize collections of skins and their coding data through a process called ediscovery. Let me know if you got the fix implemented so that I can alter the data I have in the storage system for this particular skin. Link to comment
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