GetName ()

Topics regarding Scripting with Reality Factory
Post Reply
User avatar
Vertex
Posts: 108
Joined: Fri May 22, 2015 1:01 am
Location: Colombia
Contact:

GetName ()

Post by Vertex »

Hi, I am new to RF bastente , and seems That GetName () is broken .

Any suggestions?
http://www.iris3dgames.com Reality Factory Spanish :wink:
User avatar
QuestOfDreams
Site Admin
Posts: 1520
Joined: Sun Jul 03, 2005 11:12 pm
Location: Austria
Contact:

Re: GetName ()

Post 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.
User avatar
Vertex
Posts: 108
Joined: Fri May 22, 2015 1:01 am
Location: Colombia
Contact:

Re: GetName ()

Post 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.
http://www.iris3dgames.com Reality Factory Spanish :wink:
Post Reply