$game_party.leader.hp == $game.variables[1]
$game_actors[x].hp == $game.variables[1] #x代换为角色的ID
QQ图片20131208145423.jpg (12.25 KB, 下载次数: 34)
class Game_Interpreter def do_something if $game_party.leader.hp == $game.variables[1] # do something... end end end # 把以下脚本插到Main之前,场景之后, # 把 # do something... 改成自己想要的过程 # 然后在事件中的「脚本」栏输入do_something(方法名,可以改)即可调用这段脚本
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |