Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change the sprite of a human while its spawned #30

Open
WhiteholeSteve opened this issue Apr 12, 2022 · 2 comments
Open

How to change the sprite of a human while its spawned #30

WhiteholeSteve opened this issue Apr 12, 2022 · 2 comments

Comments

@WhiteholeSteve
Copy link

Hello, so I won't to change the sprite of a human when its spawned, I have an idea for it to be in the right click menu, but how would I change it, I had an idea for it to add or minus from a varible to chose what skin it has, but, how will I change its skin (I don't want an error and then get confused for like 10 minutes, I just want an answer)

@06NinjaKid06
Copy link

good question, maybe you can find how to do something like the change texture button on vehicles?

@R0Y1T0
Copy link

R0Y1T0 commented Jun 1, 2022

I think you should investigate it using the available resources from studiominus and github. I'm too working on a similar system like that but available for almost any type of object.
Have you checked this? https://www.studiominus.nl/ppg-modding/internalReference/ContextMenuBehaviour.html

Also, there's no point on giving a full code if you are not going to understand it anyways, that was my first mistake and i made crappy mods using code that i didn't understand. Learn from scratch how the code works, you literally have more than enough resources to do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants