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

如何设计打断一个进行中的状态 #15

Closed
magicsea opened this issue Oct 20, 2022 · 2 comments
Closed

如何设计打断一个进行中的状态 #15

magicsea opened this issue Oct 20, 2022 · 2 comments

Comments

@magicsea
Copy link
Owner

No description provided.

@magicsea
Copy link
Owner Author

举例一个怪物战斗巡逻的AI例子,其实就是动作优先级:死亡》寻敌》巡逻》战斗。如图
1ZPCBCHKAWFXS}4@MQD($KX

@magicsea
Copy link
Owner Author

magicsea commented Oct 20, 2022

更复杂的可以例子可以参考:
(https://github.com/magicsea/behavior3go/blob/master/examples/mmoarpg/zt.b3)里面的巡逻子树有很多打断逻辑。在编辑器主界面直接open project打开zt.b3就可以看到

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

1 participant