Page 1 of 1

GetName ()

Posted: Fri May 22, 2015 1:04 am
by Vertex
Hi, I am new to RF bastente , and seems That GetName () is broken .

Any suggestions?

Re: GetName ()

Posted: Fri May 22, 2015 7:28 pm
by QuestOfDreams
I assume we're talking about the GetName method of the Player in 0.78?
The usage is

Code: Select all

Player.GetName();
Of course, the player object must exist at the time the method is called, i.e. a game level must be running. In other words, it is not safe to call this method when you're just in the game's menu but you haven't started a new game or loaded a game from a savegame.

Re: GetName ()

Posted: Fri May 22, 2015 8:51 pm
by Vertex
Thank you very much. I feel really stupid, I'm studying the documentation for the beta and using the 0761 version. :(



A greeting.