Jump to content

adding an item on loading a savegame


dontpanic

Recommended Posts

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

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

Thank you Cipscis.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...