RequestLookChange
Asks the server for a look.
The look goes to the mode’s OnPlayerLookChange after the server’s own checks (every part one of its kind, all of
them a man’s or all a woman’s - gender = "female" asks for a woman’s body). When the mode takes it, it is the
player’s on every screen and OnLookChange tells the script; when it does not, nothing comes back but what the mode
says itself (a part the server does not know is told under the compass). One ask a second at most: a faster one is
not sent. A look of the other body than the player’s own asks them to restart the game once it is taken.
Syntax
Section titled “Syntax”RequestLookChange(look)| Parameter | Type | |
|---|---|---|
look |
table | string | {body, head, hair, beard, gender}, or its one-line form |
Returns
Section titled “Returns”boolean - false when it came too soon after the last and was not sent
Example
Section titled “Example”if key == "space" and pressed then RequestLookChange(chosen) endSee also
Section titled “See also”OnLookChange · ShowLookPreview · the Looks and the character creator group of the index
