Fluxkompensator Posted January 22, 2015 Share Posted January 22, 2015 (edited) Hi guys,I'm looking for a way to get the name of the bot or the name of the player (while the game running).Something like "gameState.ai.playerData.name", but this returns the leader of the civilisation I'm playing.If I'm playing against petra, the result should be "Petra Bot".Can anybody help me? Edited January 22, 2015 by Fluxkompensator Link to comment Share on other sites More sharing options...
historic_bruno Posted January 22, 2015 Share Posted January 22, 2015 I haven't tested this, but does .AI work instead of .Name? At least in game setup, the AI property contains the AI name. 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