设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索

求教这个变量操作反过来该怎么写?

查看数: 64 | 评论数: 2 | 收藏 0
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2025-11-5 13:19

正文摘要:

这句是把变量29对应的那一号变量的值赋到变量30,反过来要把变量30的值赋予变量29对应的那一号变量该怎么写? 我写$gameVariables.value($gameVariables.value(29)) = $gameVariables.value(30)会处错 ...

回复

tuifeiheihu 发表于 3 天前
alexncf125 发表于 2025-11-5 13:36
$gameVariables.setValue($gameVariables.value(29), $gameVariables.value(30))

明白了,谢谢
alexncf125 发表于 3 天前
$gameVariables.setValue($gameVariables.value(29), $gameVariables.value(30))

评分

参与人数 1+1 收起 理由
tuifeiheihu + 1 认可答案

查看全部评分

拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2025-11-8 16:33

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表