antstubell Posted September 8, 2012 Share Posted September 8, 2012 Hi all.So its the end of this quest, quest was retrieve boots, cuirass, gauntlets and a lute for a naked woman. Items called Linboots, Lincuirass, etc, NPC named Linette. Found the chest, looted it, off to NPC "here's your gear", NPC "lovely" items added to NPC's inventory, I checked by trying to pickpocket her after the exchange but now I need her to put them on. How can this be done? Thanks. Link to comment Share on other sites More sharing options...
gasti89 Posted September 8, 2012 Share Posted September 8, 2012 EquipItem - Actor Link to comment Share on other sites More sharing options...
antstubell Posted September 8, 2012 Author Share Posted September 8, 2012 EquipItem - ActorFails everytime. I tried Linette.EquipItem(Lboots, true) Failed on "variable Linette is undefined" and " none is not a known user-defined type" Alias_Linette.EquipItem(Lboots, true) Failed on "EquipItem is not a function or does not exist" I copied and pasted it from the CK guide. Link to comment Share on other sites More sharing options...
gasti89 Posted September 9, 2012 Share Posted September 9, 2012 Properties.... Come on man, don't reset your scripting knowledges everytime you ask for a script. You know how to set properties from the topics you created before. This if in a normal script Actor property Linette auto ObjectReference property ArmorPiece auto Linette.EquipItem(ArmorPiece) This if in a quest fragment Alias_Linette.GetActorRef().EquipItem(ArmorPiece)Of course ArmorPiece has to be defined in the properties tab as ObjectReference Link to comment Share on other sites More sharing options...
antstubell Posted September 9, 2012 Author Share Posted September 9, 2012 (edited) Properties.... Come on man, don't reset your scripting knowledges everytime you ask for a script. You know how to set properties from the topics you created before. This if in a normal script Actor property Linette auto ObjectReference property ArmorPiece auto Linette.EquipItem(ArmorPiece) This if in a quest fragment Alias_Linette.GetActorRef().EquipItem(ArmorPiece)Of course ArmorPiece has to be defined in the properties tab as ObjectReferenceI'm sorry to keep asking but trust me if there was any kind of tutorial, guide on Papyrus scripting I'd be more than happy to learn it. I learnt programming in BASIC from reading a book/guide many years ago and successfully wrote games in that language but with CK your given a tool without instructions. Where did you learn scripting in Papyrus? As for making another property, I already have an Alias for each piece of armour which doesn't spawn in the chest its supposed to, had this problem with other quests some items spawn some don't - no idea why I followed tutorials for doing this. Because they didn't spawn I set up a Global Variable, like you taught me and made properties for each item which are listed under Armor as Lboots, Lcuirass and Lgauntlets and placed them in the chest which works and now you say I need to make another property listed as Object Reference. Choosing Object Reference brings up "Select Object In Render Window" or slecting Cell and Reference. The armour pieces are in a chest I can't select them in the render window.Sorry to bother you, I understand if you don't answer. Edited September 9, 2012 by antstubell Link to comment Share on other sites More sharing options...
gasti89 Posted September 9, 2012 Share Posted September 9, 2012 If they are aliases you can use ReferenceAlias property. Link to comment Share on other sites More sharing options...
Recommended Posts