Project1

标题: 求教这个变量操作反过来该怎么写? [打印本页]

作者: tuifeiheihu    时间: 3 天前
标题: 求教这个变量操作反过来该怎么写?


这句是把变量29对应的那一号变量的值赋到变量30,反过来要把变量30的值赋予变量29对应的那一号变量该怎么写?
我写$gameVariables.value($gameVariables.value(29)) = $gameVariables.value(30)会处错
作者: alexncf125    时间: 3 天前
$gameVariables.setValue($gameVariables.value(29), $gameVariables.value(30))
作者: tuifeiheihu    时间: 3 天前
alexncf125 发表于 2025-11-5 13:36
$gameVariables.setValue($gameVariables.value(29), $gameVariables.value(30))

明白了,谢谢




欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X3.1