Skip to content

6 Command_character

Bayu Satiyo edited this page Mar 5, 2023 · 1 revision

Character Commands

{nameId} is obtained when you preload a character. See: Load Command: Load Character | Load Command: Load Character in Communication State

Show Character

  • Syntax: {nameId} show

Hide Character

  • Syntax: {nameId} hide

Show Character (Immediately)

  • Syntax: {nameId} showD

Hide Character (Immediately)

  • Syntax: {nameId} hideD

Highlight Character

0 is dark, 1 is bright. 0.5 and 1 are recommended.

  • Syntax: {nameId} hl/highlight {0.0~1.0}

Set Character Facial State

How to use State Preview in Web Browser.

  • Syntax: {nameId} state {stateId}

  • Example:

    hifumi state 03

Set Character Emoticon Expressions

See available emoticon list.

  • Syntax: {nameId} emo/emoticon {emoName}

  • Example:

    hifumi emo Action

Play Character Animation

Up

  • Syntax: {nameId} up

Down

  • Syntax: {nameId} down

Reset

Set an empty animation to restore the animation state.

  • Syntax: {nameId} empty

Set Character Position

Set X Axis Position

Recommended value are: -10, -5, 0, 5, 10.

  • Syntax: {nameId} x {position}

Move to a X Axis Position at Custom Speed

  • Syntax: {nameId} moveX/move {position} {speed}

Set Y Axis Position

  • Syntax: {nameId} y {position}

Move to a Y Axis Position at Custom Speed

  • Syntax: {nameId} moveY {position} {speed}

Close Up Character

Bring the character closer to the camera.

  • Syntax: {nameId} close

Bring to Back Character

Move the character away from the camera.

  • Syntax: {nameId} back

Shake Character

Shake the character's X/Y axis.

  • Syntax: {nameId} shakeX/shakeY {speed} {amplitude} {duration}

Change Character Layer Order

The default character layer order is 0.

  • Syntax: {nameId} z {z-index}

Old Spr Commands

CLICK TO VIEW

Show Character (Spr)

  • Syntax: spr show {nameId}

Hide Character (Spr)

  • Syntax: spr hide {nameId}

Show Character (Immediately) (Spr)

  • Syntax: spr showD {nameId}

Hide Character (Immediately) (Spr)

  • Syntax: spr hideD {nameId}

Highlight Character (Spr)

0 is dark, 1 is bright. 0.5 and 1 are recommended.

  • Syntax: spr hl/highlight {nameId} {0.0~1.0}

Set Character Facial State (Spr)

How to use State Preview in Web Browser.

  • Syntax: spr state {nameId} {stateId}

  • Example:

    spr state hifumi 03

Set Character Emoticon Expressions (Spr)

See available emoticon list.

  • Syntax: spr emo/emoticon {nameId} {emoName}

  • Example:

    spr emo hifumi Action

Set Character Animation (Spr)

Up (Spr)

  • Syntax: spr up {nameId}

Down (Spr)

  • Syntax: spr down {nameId}

Reset (Spr)

Set an empty animation to restore the animation state.

  • Syntax: spr empty {nameID}

Set Character Position (Spr)

Set X Axis Position (Spr)

Recommended value: -10, -5, 0, 5, 10.

  • Syntax: spr x {nameID} {x}

Move to a X Axis Position at Custom Speed (Spr)

  • Syntax: spr moveX/move {nameID} {x} {speed}

Set Y Axis Position (Spr)

  • Syntax: spr y {nameID} {y}

Move to a Y Axis Position at Custom Speed (Spr)

  • Syntax: spr moveY {nameID} {y} {speed}

Close Up Character (Spr)

Bring the character closer to the camera.

  • Syntax: spr close {nameID}

Bring to Back Character (Spr)

Move the character away from the camera.

  • Syntax: spr back {nameId}

Shake Character (Spr)

Shake the character's X/Y axis.

  • Syntax: spr shakeX/shakeY {nameId} {speed} {amplitude} {duration}

Change Character Layer Order (Spr)

The default character layer order is 0.

  • Syntax: spr z {nameID} {z-index}
Clone this wiki locally