Goonstation 13 - Modules - TypesVar Details - Proc Details

Character Preview

Essentially, it creates a human on a 1x1 map and lets you set the appearance of that human.

This parent type is for use in single-client windows. See datum/character_preview/window for a detatched window and and datum/character_preview/multiclient for a multi-client variant.

Use winset() to position the control within the window.

See the default code for an example - places it at 0,0 and makes it 128x128 pixels.

Vars

preview_idThe map ID for use with winset().
preview_mobThe human mob shown in the preview. May be useful to access directly if you want to put clothes on it or whatever.

Procs

update_appearanceSets the appearance, mutant race, and facing direction of the human mob.

Var Details

preview_id

The map ID for use with winset().

preview_mob

The human mob shown in the preview. May be useful to access directly if you want to put clothes on it or whatever.

Proc Details

update_appearance

Sets the appearance, mutant race, and facing direction of the human mob.