Skip to content

指令参考

改变数值

nani
; 好感度变化计数器

; 设置UI位置,基于1920x1080屏幕宽高
; UI元素宽230,X轴定位区间-960,960
@set str_tip_ui_pos="-10,200"

; 演示初始化数值
@set int_mood=70
@set int_love=70
@set int_trust=70

; 允许数值变动TipUI弹出
@set bool_enable_status_change_anim=true

; 演示心情值-10
@set int_mood=int_mood-10
@wait 1

; 演示好感度-10
@set int_love=int_love-10
@wait 1

; 演示信任值-10
@set int_trust=int_trust-10

; 不允许数值变动TipUI弹出
@set bool_enable_status_change_anim=false

; 更新UI数值,通常不需要
; 因为回到养成主界面时会调用一次
@gosub UpdateGauge