Hi guys, Is this possible? I need when I click on a Hotspot a specified save file will be load! I don't know how can I do this, can't find anything to load a save file in action lists Please help Thanks
See section 12.6 of the manual. You can load a game with: AC.SaveSystem.LoadGame (saveID);
where saveID is the slot number you want to load. Rather than using an Action, instead place this in a function within a custom script. The Hotspot can be used to call that function when clicked: change the Interaction source setting at the top of the Hotspot inspector to Custom Script. You can then specify the object to which your script is attached, and the name of the function.
Comments
AC.SaveSystem.LoadGame (saveID);
where saveID is the slot number you want to load. Rather than using an Action, instead place this in a function within a custom script. The Hotspot can be used to call that function when clicked: change the Interaction source setting at the top of the Hotspot inspector to Custom Script. You can then specify the object to which your script is attached, and the name of the function.
function or C# script?
No overload for method `LoadGame' takes `1' arguments
KickStarter.saveSystem.LoadSaveGame (saveID);
You'll want to place it inside a C# script.