美文网首页
【汉化】Copy Actors

【汉化】Copy Actors

作者: 沧笙 | 来源:发表于2017-06-24 16:17 被阅读599次

    Copy Actors

    Copy Actors

    This is a Plugin that allows you to copy Actors to have multiple instances
    of the same Actor in your game.

    这个插件可以让你复制玩家角色

    How to Make Copy Actors

    In order to create and add a Copy Actor to your party, use the following
    Plugin Command:

    使用下面的命令来复制角色

    CopyActor x
    

    This will create a Copy Actor based off of Actor ID x.
    For example:

    CopyActor 1
    

    This will create a copy of Actor ID 1 and add it to the party.

    例如这会复制ID为1的角色加入队伍

    Referencing Copy Actors through Variables

    When you create a Copy Actor through a Plugin Command, you can store the
    Copy Actor’s ID into a variable by adding a second Parameter:

    CopyActor x y
    

    Set y to the ID of the Variable you wish to store the Copy Actor ID’s in.

    你可以复制指定ID为x的角色,并把x的指存入变量y

    Copy Actors Mode

    When Copy Actors Mode is turned on, using the “Change Party Member” event
    will add copies of the Actors instead of actual originals.

    当复制模式打开时,改变队伍成员的事件将会被复制角色

    You can customize whether this is on or off at the beginning of the game
    in the Parameters of this plugin.

    你可以自定义是否打开这个模式

    You can also use the Plugin Commands:

    CopyActorMode ON
    CopyActorMode OFF
    

    to turn Copy Actors Mode on or off.

    New Game_Actor Functions

    In order to compensate for the new Copy Actors, there are two new functions
    that can be used on Actor objects (instances of Game_Actor class).

    为了更好的辨认角色ID,我们引入了copyID和originalId

    actor.copyId()
    

    Returns the ID of the copy. ID 0 is the original, and every number after
    that is the number refers to the amount of Copy Actors that existed
    at the Copy Actor’s creation plus one.

    这个将会返回被复制角色的ID

    For example, the first Copy Actor has Copy ID 1, the second has Copy ID 2,
    the third has Copy ID 3, etc…

    actor.originalId()
    

    The ID of the Actor the Copy Actor was created from.

    这个将会返回角色本体的ID

    相关文章

      网友评论

          本文标题:【汉化】Copy Actors

          本文链接:https://www.haomeiwen.com/subject/gfykcxtx.html