Skip to content

函数: setStoryValue() ​

setStoryValue(type, key, value): void

设置剧情数值的方法

参数 ​

type ​

any

剧情数值的类型 "int" | "list" | "str" | "obj"

key ​

any

剧情数值的key

value ​

any

剧情数值的值

返回 ​

void

示例 ​

ts
LM.setStoryValue("int",0,200);