Jump to content

Get the name of the bot


Fluxkompensator
 Share

Recommended Posts

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 by Fluxkompensator
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...