Project1
标题:
脚本术语
[打印本页]
作者:
黑米馒头
时间:
2011-10-24 20:55
标题:
脚本术语
本帖最后由 黑米馒头 于 2011-10-27 17:47 编辑
如何写
当角色ID为3的时候
@active_battler.current_action.kind = 0
@active_battler.current_action.basic = 0
除此之外
@active_battler.current_action.kind = 1
不知道这样可不可以
if $data_actors[3].id
@active_battler.current_action.kind = 0
@active_battler.current_action.basic = 0
else
@active_battler.current_action.kind = 1
end
dsu_plus_rewardpost_czw
欢迎光临 Project1 (https://rpg.blue/)
Powered by Discuz! X3.1