Quest help - FactionStarting other questTraining

Post » Wed May 07, 2014 2:32 am

Hi there.

I am kinda new to modding Skyrim, but am able to get simple quests done, and read the creation kit tutorial on how to do simple actions. But sadly coding is my weakness...

1. Question:

So, I am making a mod where if I complete it, it adds the player to a faction. Now, I know the code is:

Game.GetPlayer().AddToFaction(NameHereFaction)

I have placed it at the last quest stage.

So the whole last stage looks like this originally(Stage 41 is the last):

Spoiler
SetObjectiveCompleted(30)SetObjectiveDisplayed(41)Alias_QuestGiver.GetReference().AddItem(Alias_AJournal.GetReference())Game.GetPlayer().AddItem(ALetterofThanks, 1)CompleteQuest()

Now, everything works just fine when I test it, the journal is taken from my character, the letter is also added to my inventory and the quest completes. However, if I attempt to add the addtofaction code after the line of the additem, it gives me an error that compiling failed. I have written the faction name correctly, I am 100% sure.

So it would look like this:

Spoiler
SetObjectiveCompleted(30)SetObjectiveDisplayed(41)Alias_QuestGiver.GetReference().AddItem(Alias_AJournal.GetReference())Game.GetPlayer().AddItem(ALetterofThanks, 1)Game.GetPlayer().AddToFaction(NameHereFaction)CompleteQuest()

Have I missed something? Am I supposed to add the faction as an alias? But I have looked at other quests as reference and each just used this simple line to put characters into a faction. Why doesn't it work with mine then? o.O Well, it IS a custom faction, but one cannot do it wrong... too easy to set it up...

Or should it be placed in a completely different stage? I really don't know what the problem is.

2. Question:

I want another quest to start after this finishes, but no matter what code I use, it wont compile it, so perhaps I am using the wrong codes. Can someone tell me how to do this as well? The quest that I want linked to this is already made, I just cannot figure out how to get it into the player's journal. Actually, it would be a misc quest without log entries, the objective appearing only.

3. Question:

At one point at an existing place, I want an archer and a soldier to practice, like the guards at Solitude. The soldier at the dummy, and the archer at the target. The dummies and targets are already at place by default in Skyrim.

So, how could I make them practice?

I have tried getting reference from the Solitude soldiers who do the same, but sadly it isn't at all easy to see through that. Especially when it is full with markers from the civil war scene...

Thank you for all the help.

User avatar
SaVino GοΜ
 
Posts: 3360
Joined: Mon Sep 17, 2007 8:00 pm

Return to V - Skyrim