Basic Simple Quest - Help Needed

Post » Fri Mar 11, 2016 11:41 am

Hi guys, I really need a little boost on quest-making in the creation kit! :D


I am making my first quest EVER using doughamil's tutorial on YouTube. (sorry, I can't post links)

So here is my plan for a simple quest:

- 2 followers

- these followers' relationship's to the player have a default value of 0 (Acquaintance)

- when the player levels up to lvl25, both of these followers relationship ranks should be set to 3 (Ally)


So far:
- I have 2 custom actors (potential followers)

- I have a quest: lvlUnlock25

> Quest Data tab looks good, according to the tutorial

> Quest Stages... I only have one stage: 0... and I checked "start up stage" AND "shut down stage" for it
> Quest Objectives... empty
> Quest Aliases... I have 2 aliases, each referencing those 2 follower actors i made before... also they have a script on each of them (see below)
> All other tabs... empty
- I have a Stacked Quest Node under the SM Event Node 'Increase Level' : lvlUnlock25_node
> yes, I added my quest to this node
> yes, I included the conditions


My Script:

- ibr_becomeAlly: ( Property: 'ibr_actor' of type ReferenceAlias )



Scriptname ibr_becomeAlly ReferenceAlias

Property ibr_actor Auto

Event onInit()

; set ibr_actor as an ally to player...
ibr_actor.GetActorRef().SetRelationshipRank(Game.GetPlayer(), 3)

EndEvent

- I passed in the follower alias into ibr_actor



...yea so I played the game and when I became level 25, nothing happened, they did not become my Ally. Could anyone be so kind as to guide me because I feel completely lost :unsure2: ...Thanks Everyone!

User avatar
Trish
 
Posts: 3332
Joined: Fri Feb 23, 2007 9:00 am

Post » Fri Mar 11, 2016 2:28 am

So how are you starting the quest that owns the RefAlias? Because OnInit() will only fire a) when the mod is first installed and b ) when the quest Starts. After that it'll never fire again unless the quest is a) Stopped and then b ) Started again.

User avatar
Tinkerbells
 
Posts: 3432
Joined: Sat Jun 24, 2006 10:22 pm

Post » Fri Mar 11, 2016 8:54 am

I had put my quest under the IncreaseLevel event node with the condition of the player level being >= 25.


Shouldn't that start the quest?




ie:


  • IncreaseLevel (this is a built-in SM Event Node)
    • my_quest_node
      • my_quest



User avatar
josh evans
 
Posts: 3471
Joined: Mon Jun 04, 2007 1:37 am

Post » Fri Mar 11, 2016 10:35 am

So did the relationshiprank change? You can check if the script is firing with a debug message and check the relationship rank with console commands.

User avatar
N Only WhiTe girl
 
Posts: 3353
Joined: Mon Oct 30, 2006 2:30 pm


Return to V - Skyrim