Rinart73 Posted August 11, 2018 Share Posted August 11, 2018 0.18.2 - r12552 Wanted to rely on "onAIStateChanged", but it seems that after some time, it just stops firing it. I checked, there are no errors in my scrip: -- namespace MyTest MyTest = {} function MyTest.initialize() Entity():registerCallback("onAIStateChanged", "onAIStateChanged") end function MyTest.onAIStateChanged(entityId, state) print("onAIStateChanged", entityId.string, state) end Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now