Save Attribures SaveGame?

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

Save Attribures SaveGame?

Post by Vertex » Fri Jul 17, 2015 9:39 pm

I can not save my script attribute pawn, when I give in save game and then load the attribute appears in 100 health again.

Any suggestions?
http://www.iris3dgames.com Reality Factory Spanish :wink:

Veleran
Posts: 891
Joined: Mon Aug 22, 2005 10:22 am
Location: Greece

Re: Save Attribures SaveGame?

Post by Veleran » Tue Jul 21, 2015 6:37 am

Do you mean you used the save game of the main menu for the standard player and it did not work?
I would say to also try save Pawn attributes from insode the Pawn script but so far i have seen only save attributes commands and not load.
I wonder if there is only saveattributes how are you supposed to load them at Pawn setup order.

Code: Select all

SaveAttributes(string FileName); 
Saves the current player attributes to an ascii file of the specified name. 
At least until we find out if you can use that command,maybe you should check again your script and see if you copy the player attributes amount to your own Pawn player at the start of the script.

Post Reply