Jump to content

Recommended Posts

Posted
Hi, I am Schuyler. I am working on a mod, very simple and mostly specific to my save at the moment. I want to trigger a message at the beginning of the game, when the character chooses who to enter Helgen Keep with. For now I just want to use choosing Hadvar as the trigger. I need to know if that event has a specific event script and if so, what is it? If there is not, is there another way to make that choice trigger the message? If you can help, I would very much appreciate it.
Posted

use an if statement

 

if Game.GetPlayer().Has.Perk

 

; Display the class 'hello world' box
Debug.MessageBox("Hello, world!")

Game.GetPlayer().RemovePerk

endif

 

then simple go to hadvars entries in the ck and set it so he awards the player your perk after speaking to him

 

ps. always have creation kit wiki open so you can quick reference funtions like removeperk so you can get exact syntax, and stucture. dont just copy my script above.

Posted

Rather than the above, I recommend finding the stage where you choose Hadvar or Ralof. I believe it's 195 and 190. In that stage of the Quest (MQ101, Unbound), you want to place some code after any other code in the fragment (fragment is the code box on the right).

 

Put Debug.Messagebox("My message in here") in both of the stages. Hit the compile button (you must extract Scripts.rar from your Skyrim/Data to your Skyrim/Data first, or there will be errors!) go in game and test it out.

  • 2 weeks later...
Posted (edited)
Thank you, Hecks567, but I am actually using the trigger to spawn several essential npc's to a certain place (a house in Solitude we Hadvar, or a house in Dawnstar w/ Ralof) if I can. Mattie, your advice is what I was needing so thank you for that. I am trying to create a mod to give the Dragonborn a family and a backstory. If you or anyone you know with more experience than me (which is nearly everyone else on here since I'm quite new to this, haha) would like to help me, let me know on here or message me. I've been thinking about a mod like this just about since I found out Skyrim has mods, and I would definitely appreciate help from those who've been at it longer than me. Edited by ManofSteel28
Posted
Also, would I have to make two different versions in order to have the families in a certain place because I'm not sure how to use a function to spawn a character somewhere only after the choice is made. Something like in a quest?
Posted
  On 7/9/2015 at 4:30 PM, ManofSteel28 said:

Also, would I have to make two different versions in order to have the families in a certain place because I'm not sure how to use a function to spawn a character somewhere only after the choice is made. Something like in a quest?

In the appropriate stage, you can http://www.creationkit.com/PlaceAtMe_-_ObjectReference at an XMarker you make in game to create NEW family, or you can take preexisting actors and move them to the appropriate location with http://www.creationkit.com/MoveTo_-_ObjectReference

  • Recently Browsing   0 members

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