Help with papyrus variables in Quest

Post » Sat Feb 23, 2013 12:24 am

I am trying to create quests but I cannot make working simple variables such as enable object, reward player. Adding variable Alias_Schedule1.GetRef().Enable() in stage doesn't work. I've added ReferenceAlias Property Schedule1 auto in quest script. No result. This:


Spoiler
MiscObject Property Gold001 Auto
Int Property RewardAmount = 300 Auto

Function RewardPlayer()
Game.GetPlayer().AddItem(Gold001, RewardAmount)
EndFunction


Doesn't work as well.


I can't figure out how this behave. Only setstage and dialogues work.
User avatar
gemma king
 
Posts: 3523
Joined: Fri Feb 09, 2007 12:11 pm

Return to V - Skyrim