Then we want to check if this faction/entity was registered as a friend. And.. we can't. We can only check if there are enemies in the sector or try to get nearest enemy.
So, please add a way to check this for both enemy and friend registration.
local bool = ShipAI():registeredFriendFaction(factionIndex)
local bool = ShipAI():registeredEnemyFaction(factionIndex)
local bool = ShipAI():registeredFriendEntity(entityIndex)
local bool = ShipAI():registeredEnemyEntity(entityIndex)
Suggestion
Rinart73
Example: We have an enemy faction or entity. We register it as friend:
Then we want to check if this faction/entity was registered as a friend. And.. we can't. We can only check if there are enemies in the sector or try to get nearest enemy.
So, please add a way to check this for both enemy and friend registration.
Link to comment
Share on other sites
0 answers to this suggestion
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