Script to set qst stage when player has 8 specific items in

Post » Wed Jan 22, 2014 2:55 pm

I am making a quest where the player has to get 7 sigil stones to advance to the next stage of the quest. My script is not working. I have attached the script to a player REF alias in my quest alias's can someone help please? here is the script that does not update the quest stage as I want it to:

Scriptname DaedricSealInvScript extends ReferenceAlias  LeveledItem Property Pain  Auto  LeveledItem Property Suffering  Auto  LeveledItem Property Fear  Auto  LeveledItem Property Flesh  Auto  LeveledItem Property Death  Auto  LeveledItem Property Bone  Auto  LeveledItem Property Blood  Auto  Quest Property POS  Auto  EVENT onItemAdded(form itemAdded, int itemCount, objectReference itemRef, objectReference sourceRef)		If game.getPlayer().getItemCount(Pain) == 1		If game.getPlayer().getItemCount(Suffering) == 1		If game.getPlayer().getItemCount(Fear) == 1		If game.getPlayer().getItemCount(Flesh) == 1		If game.getPlayer().getItemCount(Death) == 1		If game.getPlayer().getItemCount(Bone) == 1		If game.getPlayer().getItemCount(Blood) == 1		POS.SetStage (50)	Endif	Endif	Endif	Endif	Endif	Endif	EndifEndEvent
User avatar
Laura-Jayne Lee
 
Posts: 3474
Joined: Sun Jul 02, 2006 4:35 pm

Post » Wed Jan 22, 2014 10:32 am

I'm not 100% certain on this, but can the player actually carry a levelled item? Aren't they basically just a list which contains the item, therefore the item has it's own unique Editor ID? If I'm right, then you need to change the object type to whatever your sigil stones are (MiscObject, maybe?) and then it should work.

Edit :

Yep, CK Wiki says I'm right...

http://www.creationkit.com/LeveledItem

User avatar
LADONA
 
Posts: 3290
Joined: Wed Aug 15, 2007 3:52 am

Post » Wed Jan 22, 2014 1:31 pm

Yeah your right man just sorted it thanks should have used miscobjects instead of leveled items.

User avatar
Allison C
 
Posts: 3369
Joined: Mon Dec 18, 2006 11:02 am


Return to V - Skyrim