The documentation for AACS and the CodeEditor.
Prepares a character spot/position on the screen and sets a character initially.
Name | Type | Description | Required | Default Value |
---|---|---|---|---|
Position | String | The name of the character position. | ✓ | “Center” |
PosX | Number | The placement on the X axis of the current location. | ✓ | 0 |
PosY | Number | The placement on the Y axis of the current location. | ✓ | 0 |
Name | String | The name of the character to load. | ✓ | - |
Emote | String | The emote of the character to load. | ✗ | - |
PlayPre | Boolean | Whether or not the pre-animation should be played. | ✗ | * |
WaitForPre | Boolean | Whether or not the engine should wait for the pre-animation to finish before continuing. | ✗ | * |
1: LoadCharacter:[-];
1: LoadCharacter:["Right"|320];
1: LoadCharacter:[-|-|-|"Trucy"|"Bounce"];
1: LoadCharacter:[-|-|-|"Phoenix"|"Deskslam"|false|false];
Characters use X and Y positions as well. However, unlike locations, these are not tied to the camera or the logical parent specified in themes. Instead, character positions are tied to the location. If the location moves via PanCamera, so does the character. The coordinates (0, 0) refer to the top left corner.
Setting a character is advisable but not required. Changing the emote or character can be done with the SetCharacter Instruction.
*: Not specifying the PlayPre
and/or WaitForPre
parameters prompts AACT to use the default values specified in the emote editor of the Asset Maker.
This instruction triggers HideTextBox.