Message Box when you start the game

Post » Mon Nov 19, 2012 6:59 pm

How do I make a messege box to appear when you enter your save (after you load your character)? Thanks.
User avatar
Nina Mccormick
 
Posts: 3507
Joined: Mon Sep 18, 2006 5:38 pm

Post » Mon Nov 19, 2012 11:20 pm

http://www.creationkit.com/OnPlayerLoadGame_-_Actor
User avatar
GLOW...
 
Posts: 3472
Joined: Thu Aug 03, 2006 10:40 am

Post » Mon Nov 19, 2012 10:32 am

http://www.creationkit.com/OnPlayerLoadGame_-_Actor

Where am I supposed to write it?
User avatar
Micah Judaeah
 
Posts: 3443
Joined: Tue Oct 24, 2006 6:22 pm

Post » Mon Nov 19, 2012 5:51 pm

Up
User avatar
NAtIVe GOddess
 
Posts: 3348
Joined: Tue Aug 15, 2006 6:46 am

Post » Tue Nov 20, 2012 12:12 am

You'll also need something in your quest's OnInit event to catch the first save load as the Player will not be filling their alias in time for OnPlayerLoadGame to work the first time.

Spoiler
  • Quest:
    ScriptName YourQuestScript Extends QuestEvent OnInit()	Maintenance()EndEventFunction Maintenance()	Debug.MessageBox("A save has just been loaded.")EndFunction
  • PlayerAlias:
    ScriptName YourPlayerAliasScript Extends ReferenceAliasYourQuestScript Property QuestScript AutoEvent OnPlayerLoadGame()	QuestScript.Maintenance()EndEvent

See: http://www.creationkit.com/Complete_Example_Scripts#Maintenance.2Fupdate_code_which_runs_once_per_save_load_and_shows_a_message_when_a_mod_is_updated_or_first_loaded on the Wiki

Also, you don't need to bump your threads so often. Give it at least a full day?
User avatar
Miragel Ginza
 
Posts: 3502
Joined: Thu Dec 21, 2006 6:19 am


Return to V - Skyrim