赞 | 4 |
VIP | 0 |
好人卡 | 0 |
积分 | 78 |
经验 | 15725 |
最后登录 | 2024-11-24 |
在线时间 | 1347 小时 |
Lv4.逐梦者
- 梦石
- 0
- 星屑
- 7827
- 在线时间
- 1347 小时
- 注册时间
- 2015-8-15
- 帖子
- 753
|
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
本帖最后由 金芒芒 于 2023-4-6 13:33 编辑
@all_fighters = [1,2,3,4,5,6,7]
if $game_switches[19] == true#(No)
@all_fighters = [1,2,3,4,5,6,7]中2== true#(真)
否则
@all_fighters = [1,2,3,4,5,6,7]中2 则为false#(假)
end
if $game_switches[18] == true#(No)
@all_fighters = [1,2,3,4,5,6,7]中3== true#(真)
否则
@all_fighters = [1,2,3,4,5,6,7]中==3 则为false#(假)
end
F1里找到这个 我不会脚本请帮忙改写下成上面的内容
a = ["艾力克斯","布莱恩","卡罗来"]
p a.include?("布莱恩") # => true
p a.include?("小田纯一狼") # => false
-------------------------------------------------【已解决】
@all_fighters = [1] if $game_switches[19] == true#(开关 开) @all_fighters.push(2) end
@all_fighters = [1]
if $game_switches[19] == true#(开关 开)
@all_fighters.push(2)
end
------------------------------------------------【数组 数减少】
@all_fighters = [1,2] if $game_switches[19] == false#(开关关) @all_fighters.datele(2) end
@all_fighters = [1,2]
if $game_switches[19] == false#(开关关)
@all_fighters.datele(2)
end
|
|