角色
4 個節點
本頁內容 4
角色部位樣式
函數A character whose lines draw a part with a style of the story's: their own window, name tab, name or text.
簽名
角色部位樣式 -> Character Definition
字元: Character Definition
部位: 文字
樣式: 文字CharacterDefinition CharacterPartStyle(
CharacterDefinition character,
string part,
string style)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 字元 | Character Definition | — | The character. |
| 部位 | 文字 | — | window, namebox, who (the name) or what (the line). |
| 樣式 | 文字 | — | The style that part draws with. |
返回
| 角色 | Character Definition |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 角色
- 所屬包
- Novella 視覺小說
建立角色
函數Makes a character.
簽名
建立角色 -> Character Definition
ID: 文字
名稱: 文字
顏色: 文字
影像: 文字
側邊影像: 真否
NVL 模式: 真否CharacterDefinition MakeCharacter(
string id,
string name,
string color = "",
string image = "",
bool sideImage = false,
bool nvl = false)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| ID | 文字 | — | The name the story uses, such as qinglan. |
| 名稱 | 文字 | — | The name shown when they speak; may use [variable]. |
| 顏色 | 文字 | — | The name's colour, such as #c0392b. |
| 影像 | 文字 | — | The character's image tag, so lines can change the expression; empty for none. |
| 側邊影像 | 真否 | False | Whether to show the character's image beside their lines. |
| NVL 模式 | 真否 | False | Whether the character speaks on the full-screen NVL page. |
返回
| 角色 | Character Definition |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 角色
- 所屬包
- Novella 視覺小說
設定角色樣式屬性
函數A character with a style property set on a part of their lines for them alone: whatsize40, windowbackground"#200000".
簽名
設定角色樣式屬性 -> Character Definition
字元: Character Definition
部位: 文字
屬性: 文字
值: 文字CharacterDefinition SetCharacterStyleProperty(
CharacterDefinition character,
string part,
string property,
string value)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 字元 | Character Definition | — | The character. |
| 部位 | 文字 | — | window, namebox, who (the name) or what (the line). |
| 屬性 | 文字 | — | The property, as a script names it. |
| 值 | 文字 | — | Its value, as a script writes it. |
返回
| 角色 | Character Definition |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 角色
- 所屬包
- Novella 視覺小說
角色樣式
函數A character with a different text colour, font or quotation marks.
簽名
角色樣式 -> Character Definition
字元: Character Definition
文字顏色: 文字
字型: 文字
字首: 文字
字尾: 文字CharacterDefinition StyleCharacter(
CharacterDefinition character,
string textColor = "",
string font = "",
string prefix = "",
string suffix = "")參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 字元 | Character Definition | — | |
| 文字顏色 | 文字 | — | |
| 字型 | 文字 | — | |
| 字首 | 文字 | — | |
| 字尾 | 文字 | — |
返回
| 角色 | Character Definition |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 角色
- 所屬包
- Novella 視覺小說