Rinart73 Posted September 14, 2018 Share Posted September 14, 2018 0.17-0.18.3 I register an entity (asteroid for example) as enemy: local ai = ShipAI() ai:registerEnemyEntity(target.index) ai:setPassiveShooting(true) Ship starts to attack it (not always , another bug?) Then I'm trying to unregister it or register it as a friend: local ai = ShipAI() -- any of the following ai:unregisterEnemyEntity(target.index) ai:registerFriendEntity(target.index) Ship in passive fire mode doesn't care and continues to fire. 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