Project1

标题: [已经解决]人物ID =[[17],[18],[19],[21],[16]] [打印本页]

作者: 金芒芒    时间: 2023-10-20 16:47
标题: [已经解决]人物ID =[[17],[18],[19],[21],[16]]
本帖最后由 金芒芒 于 2023-10-21 14:14 编辑

人物ID =[[17],[18],[19],[21],[16]]  如果人物ID数组包括19而且19在数组的第三个小组里面 $game_switches[6] = true   脚本这么写
作者: soulsaga    时间: 2023-10-20 17:30
本帖最后由 soulsaga 于 2023-10-20 17:32 编辑

RUBY 代码复制
  1. a=[[17],[18],[19],[21],[16]]
  2. $game_switches[6] = true if a[2].include?(19)

作者: 金芒芒    时间: 2023-10-21 08:31
soulsaga 发表于 2023-10-20 17:30
a=[[17],[18],[19],[21],[16]]
$game_switches[6] = true if a[2].include?(19)[/pre]

谢谢很好使用




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