|
| 19 May 2017 04:12 PM |
I was doing it all manually but is there a way to do it with: wiki.roblox.com/index.php?title=API:Class/Player/LoadCharacterAppearance
How would I get the CharacterAppearance string to pass into this method?
|
|
|
| Report Abuse |
|
|
|
| 19 May 2017 04:18 PM |
Do you mean respawning them in the same spot? What do you mean by reload and why?
~MightyDantheman~ |
|
|
| Report Abuse |
|
|
|
| 19 May 2017 04:20 PM |
Instead of resetting their entire character I just want to refresh their appearance allowing them to maintain where they were in the game more fluidly.
|
|
|
| Report Abuse |
|
|
|
| 19 May 2017 04:24 PM |
(this is me using the override BindableEvent of the CoreGui thingy majiggy /wiki.roblox.com/index.php?title=API:Class/StarterGui/SetCore )
|
|
|
| Report Abuse |
|
|
|
| 19 May 2017 04:25 PM |
Well, my method is to reload them in the exact same spot. Store their HumanoidRootPart's CFrame in a variable before, then use LoadCharacter() on the player, then wait for the character to respawn, then change the CFrame of the HumanoidRootPart to the variable CFrame.
~MightyDantheman~ |
|
|
| Report Abuse |
|
|
|
| 19 May 2017 04:27 PM |
You could also store their rotation. I'm sure there's another way, but here's just one method. I used it to, in a way, disable the effect of resetting their character. Now they just instantly respawn in the same spot that they reset at.
~MightyDantheman~ |
|
|
| Report Abuse |
|
|
|
| 19 May 2017 04:27 PM |
The whole idea was so there wasn't the annoying -let's watch myself die for a bit- before they get themselves all brand spanking new. Or do you just delete the player altogether? I have no idea how loadcharacter works xD is there a wiki article?
|
|
|
| Report Abuse |
|
|
|
| 19 May 2017 04:28 PM |
delete the character altogether*
|
|
|
| Report Abuse |
|
|
|
| 19 May 2017 04:30 PM |
I'll just stick with what I have rip
|
|
|
| Report Abuse |
|
|
|
| 19 May 2017 04:32 PM |
LoadCharacter() instantly respawns the character. There's no respawn delay.
~MightyDantheman~ |
|
|
| Report Abuse |
|
|
|
| 19 May 2017 04:33 PM |
It respawns assuming they died.
|
|
|
| Report Abuse |
|
|
|
| 19 May 2017 04:35 PM |
No. The player doesn't need to die. Just try it. game.Players.TargetPlayer:LoadCharacter()
~MightyDantheman~ |
|
|
| Report Abuse |
|
|
|
| 19 May 2017 04:36 PM |
fire a remote event with the bindable event used in the reset button callback then if everything checks out load the appearance with get character appearance or api |
|
|
| Report Abuse |
|
|
|
| 19 May 2017 04:36 PM |
| Omk :o That's bad naming? ## ### |
|
|
| Report Abuse |
|
|
|
| 19 May 2017 04:37 PM |
| and store their humanoid root parts cframe and just teleport them as soon as one comes up in their newer character |
|
|
| Report Abuse |
|
|
| |
|
|
| 19 May 2017 04:37 PM |
meh what I'm doing works, it's not baroque
|
|
|
| Report Abuse |
|
|
|
| 19 May 2017 04:38 PM |
application programming interface theres a bunch of web apis and there might be one for getting their character appearance either that or a function in a roblox instance |
|
|
| Report Abuse |
|
|
|
| 19 May 2017 04:39 PM |
Basically the above. Here's the exact Google definition just because: "Application program interface (API) is a set of routines, protocols, and tools for building software applications. An API specifies how software components should interact. Additionally, APIs are used when programming graphical user interface (GUI) components."
~MightyDantheman~ |
|
|
| Report Abuse |
|
|
|
| 19 May 2017 04:46 PM |
an example of a web api is
httpget( "exampleLink.api/getuserinfo&username=bob" ) and it would return bobs info |
|
|
| Report Abuse |
|
|