I am wanting to have the player enter a trigger and cause the LoadGame script to be used.
This is the script I have tried, but doesn't work
Scriptname defaultLoadGameOnTrigger extends ObjectReference import gameimport utilityEVENT onTriggerEnter(objectReference actronaut); ;Debug.Trace("Trigger Hit") if done == FALSE while !isInMenuMode() waitMenuMode(0.5) endWhile done = TRUE; ;Debug.Trace("Loading Game") Function LoadGame (string gamesave)gamesave.LoadGame("Save 941 - Trent Skyrim 00.42.15") EndFunction endifendEVENTEVENT onReset() done = FALSEendEVENT
I am using SKSE and it is listed here:
http://www.creationkit.com/LoadGame_-_Game
How can I use this script correctly?