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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...