This script allows you to set up enemy talk events during battle and use a talk command to interact with enemies.
Download
Get it at Hime Works!
Installation
Place this script below Command Manager and above Main
Usage
To add the talk command, tag actors with
<cmd: enemy_talk>

Enemy talk events are set up as troop event pages.
To create an enemy talk event page, create a comment of the form
<enemy talk event: x>Where x is the index of the enemy that this will apply to. The first enemyhas an index of 1.
To trigger this talk event, you must use the "talk" command on the enemy
during battle. The event will run once the action is executed.
To check who is currently talking, in your script calls you can use
Code:
to get a reference to a Game_Actor object. This can be used in conditional branches.
本贴来自国际rpgmaker官方论坛作者:Tsukihime处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址: https://forums.rpgmakerweb.com/threads/command-enemy-talk.11895/ |