Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Save data
jens Offline
Frictional Games

Posts: 4,093
Threads: 199
Joined: Apr 2006
Reputation: 202
#15
RE: Save data

How do you test this? You have to leave and enter the level like you normally would go between levels, if you reload the game or use load map in the F1 menu it will not work. Also, my memory might be failing here, but normally things like state of a lamp entity should not have to be controlled with a global var, the state they have when you leave should be the same when you re-enter unless you reset them to a specific state on load.

Add cLux_AddDebugMessages("message"); in your code to print out messages in the bottom left of the screen for easy testing of what actually goes on and what value the vars have. Must have show debug messages enabled in the F1 menu for it to work.
10-19-2015, 05:22 PM
Website Find


Messages In This Thread
Save data - by Kanthos - 10-18-2015, 01:54 PM
RE: Save data - by Romulator - 10-18-2015, 02:01 PM
RE: Save data - by Kanthos - 10-18-2015, 02:13 PM
RE: Save data - by Kanthos - 10-19-2015, 11:05 AM
RE: Save data - by Romulator - 10-19-2015, 11:29 AM
RE: Save data - by Kanthos - 10-19-2015, 11:53 AM
RE: Save data - by jens - 10-19-2015, 11:58 AM
RE: Save data - by Kanthos - 10-19-2015, 12:32 PM
RE: Save data - by Mudbill - 10-19-2015, 12:37 PM
RE: Save data - by Kanthos - 10-19-2015, 12:40 PM
RE: Save data - by Mudbill - 10-19-2015, 12:41 PM
RE: Save data - by Kanthos - 10-19-2015, 02:24 PM
RE: Save data - by Mudbill - 10-19-2015, 02:35 PM
RE: Save data - by Kanthos - 10-19-2015, 02:45 PM
RE: Save data - by jens - 10-19-2015, 05:22 PM
RE: Save data - by Kanthos - 10-19-2015, 07:44 PM
RE: Save data - by Mudbill - 10-19-2015, 09:31 PM
RE: Save data - by Kanthos - 10-20-2015, 12:41 AM
RE: Save data - by Mudbill - 10-20-2015, 02:20 AM
RE: Save data - by Kanthos - 10-20-2015, 02:39 PM



Users browsing this thread: 2 Guest(s)