元編程參考文件

角色

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.
側邊影像真否FalseWhether to show the character's image beside their lines.
NVL 模式真否FalseWhether 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 視覺小說