Fluxkompensator Posted January 22, 2015 Report 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 Quote Link to comment Share on other sites More sharing options...
historic_bruno Posted January 22, 2015 Report 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.