Jump to content

Recommended Posts

Posted

Hi,


Does anyone know if there is a way to access (in LUA) the player's name given in the logbook? I can get the player's name from the ME, but I couldn't find anything about how to access the logbook name.
I can see my Logbook callsign next to the airplane with labels on from external view, so it does get there, but how to access it?
I'd like to use it for a greenie board.

Cheers

Posted

Answering my own question here...
player_id=world.getPlayer()
player_name=Unit.getPlayerName(player_id)

 

This should give the "Callsign" field of the logbook.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...