Skip to content

可以获取NPC所属的玩家吗 #92

@Jeffrey131313

Description

@Jeffrey131313

如题,比如说通过私有化管理器,让玩家拥有一个NPC后,可不可以通过kether脚本等读取这个NPC是哪个玩家的(如果能给NPC加一个变量也可以)tag脚本貌似只可以判断是否拥有,无法读取具体值
使用场景:正在做一个NPC追随玩家功能,打算使用自定义控制器,如果可以获取NPC是属于哪个玩家的就可以switch玩家了,然后再player x y z获取坐标move

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions