Outfit Changing OnChat scripts v.0.2
required script:
outfit_chat_pars
additional:
wrap_mod_onchat - sample wrapper script
Usage: Either put the outfit_chat_pars in the Module OnChat event or use the sample wrapper to call it and any additional OnChat scripts.
When the player has an outfit on they wish to save, they open the Chat Panel and type "%" followed by the command "save <#>." where # is the slot they wish to save the outfit to.
So for slot 1, they would type "%save 1."
There are 3 slots at this time, but it is easy to add more slots.
When later the player wants to put that outfit back on quickly, they type in "%outfit <#>." with # being the slot they wish to have on.
To continue the example above, "%outfit 1." would put on the outfit saved earlier.
If the player wishes to remove all equiped items, type "%unequip all." and everything will be removed (unless it is cursed, I guess).
These commands avoid messing with the PC Properties skin, which is in Slot 17.
v.0.2 adds persistence to the system. It stores the information on the PC Props skin and stores a copy in the database
Attachment | Size |
---|---|
![]() | 3.28 KB |
![]() | 4.04 KB |
Uploaded for a friend. Let me know if anyone experiences any issues. Thanks!
I don't know if this is easy to make persistant. I guess the outfits could be saved as local objects on an item instead of the PC. That should be easy to do. Maybe v.0.2 will be up sooner than I thought. Ciao!
2 days. Let me know if this one has any issues. Thanks!