我看WIKI上面是这样说的:
这个我看着意思是输入脚本Followers.add(@event_事件ID, "npc名字", 公共事件编号),这个NPC就会和主角一起移动是吗?
然后我找到事件试了一下:
运行起来既没有报错,也没有任何反应请问问题是出在哪里呢?
This section explains how to have the partner trainer's event follow the player as they walk around the map. More generally, it explains how to make any event follow the player - the follower mechanic is not solely for partner trainers (it just makes sense to use a dependent event for a registered partner).
While the player has any followers, the player cannot use the moves Surf, Fly, Teleport or Dig outside battle, nor use an Escape Rope. The player can talk to the follower, but the contents of that interaction must be in a Common Event rather than in a page in that dependent event. A follower will automatically stop following the player if they black out.
Making an event a follower
When registering a partner trainer, you will typically also want to make that trainer's event a follower. To do this, use the following line of code:
Ruby:Followers.add(@event_id, "Dave", 42)
The first argument is the ID number of the event from the current map that will follow the player (@event_id means the event that this script is used in). The second argument is a name or phrase used to identify the follower (useful when making them stop following later on). The third argument is the number of the Common Event to run when the player talks to the follower.
这个我看着意思是输入脚本Followers.add(@event_事件ID, "npc名字", 公共事件编号),这个NPC就会和主角一起移动是吗?
然后我找到事件试了一下:
Ruby:
Followers.add(@event_EV008, "pipi", 42)
运行起来既没有报错,也没有任何反应请问问题是出在哪里呢?
由版主最后编辑: