Since engine version: 1.0 OC
(extended in 2.0 OC)
With this function additional data can be saved in a crew member's file the in player. This can be used to preserve values across scenarios, for example for RPGs or highscores. If successful, the saved value is returned.
any SetCrewExtraData(string data_name, any Data);
- Name for the data.
- Data to be saved.
No objects or arrays may be saved.
Because all scripts use the same storage in the crew member, the name for the data should be prefixed with the scenario or object name or your developer id.