Jump to content

Detecting nothing worn in Slot 2


ozziefire

Recommended Posts

I'm missing something dumb here, I've hit a wall in a clothing swapping script that works fine except for nude bodies, so now I'm throwing it out for anyone else that has an idea how to detect "nothing" is being worn in the UpperBody Slot 2.

 

Code Deleted

 

That's an abreviated version of the code, trouble is when it gets the <no name> as the outfit worn it fails to set the NudeBody, it should catch it at the "rNewUpperBody == 0", apparently 0 isn't the same as whatever <no name> is.

 

SexoutSLOutfitNaked is a formlist of Naked Body Variations, SexoutSLOutfitUnderwear is a similar List of Underwear variations

Edited by ozziefire
Link to comment
Share on other sites

To test for an empty slot with GetEqObj, simply test your variable for having a value at all after calling the function.

Thanks, I tried that and it didn't seem to work, but I'll give it another go :)

yep got it, it worked, thanks :)

Edited by ozziefire
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...