Quest condition - get player level

Post » Wed Mar 27, 2013 9:47 pm

Hi.

Is it possible to get the player level and use it as a condition for a quest? - if so how?
User avatar
Nathan Maughan
 
Posts: 3405
Joined: Sun Jun 10, 2007 11:24 pm

Post » Thu Mar 28, 2013 5:54 am

There's a papyrus function Game.GetPlayer().GetLevel() for scripts or simply a GetLevel condition function you can run on the player. You can look at some of the daedric quests for examples how its used (DA##QuestName or something) as many of those require the player to be a certain level to trigger.
User avatar
Michael Russ
 
Posts: 3380
Joined: Thu Jul 05, 2007 3:33 am

Post » Wed Mar 27, 2013 6:30 pm

If you want to start a quest as soon as the player reaches a certain level you can use the Story Manager Event Node "Increase Level" and set the condition to the wanted level.
User avatar
Chantelle Walker
 
Posts: 3385
Joined: Mon Oct 16, 2006 5:56 am


Return to V - Skyrim