dontpanic Posted September 10, 2012 Share Posted September 10, 2012 I have been trying to figure out what I need to do to add an Item I created to the player on loading a game. Does anyone have an idea on how to do this or link me to a tutorial on how to do this? I was thinking of creating a new quest that was started and somehow adding a script. Link to comment Share on other sites More sharing options...
Cipscis Posted September 10, 2012 Share Posted September 10, 2012 When a save is loaded, the OnPlayerLoadGame event is called on the player. You can receive this event by creating a quest that has an alias pointing to the player, and attaching a script (extending ReferenceAlias) to the alias. In that script, you can detect when the player loads a save via the OnPlayerLoadGame event. Cipscis Link to comment Share on other sites More sharing options...
dontpanic Posted September 11, 2012 Author Share Posted September 11, 2012 When a save is loaded, the OnPlayerLoadGame event is called on the player. You can receive this event by creating a quest that has an alias pointing to the player, and attaching a script (extending ReferenceAlias) to the alias. In that script, you can detect when the player loads a save via the OnPlayerLoadGame event. CipscisThank you Cipscis. Link to comment Share on other sites More sharing options...
Recommended Posts