Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Jeffrey131313 opened this issue Jul 23, 2024 · 1 comment
Open

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

Jeffrey131313 opened this issue Jul 23, 2024 · 1 comment

Comments

@Jeffrey131313
Copy link

Jeffrey131313 commented Jul 23, 2024

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

@Bkm016
Copy link
Collaborator

Bkm016 commented Aug 4, 2024

我也不知道 应该不太行吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants