justabot5 Posted February 4, 2021 Share Posted February 4, 2021 Hi! I'm trying to downsize the cheat terminal to my needs and all was good until I decided I wanted the merchant back. I created an npc called Merchant (very original..) and it's ID is aaMerchant. I put a BoS T51 and 15.000 caps in his inventory. So the next logical move ws to make a new line in the terminal with the Item Resut Script of: forceterminalbackaaMerchantRef.sbm or forceterminalbackaaMerchantRef.showbartermenu But it does nothing. If I use the code: player.placeatme aaMerchant it creates a copy of him next to me and if I use sbr or showbartermenu on him, I can get him to trade with 15.000 caps and nothing else in his inventory just as wanted to. What am I doing wrong? Do I have to place him somewhere in the world or do I have to create a script?And also, is there a simple tutorial? Link to comment Share on other sites More sharing options...
dubiousintent Posted February 5, 2021 Share Posted February 5, 2021 (edited) If the Actor is not placed in the worldspace, then a Reference-ID does not exist. The "placeatme" function is placing an instance of the "Form/Editor-ID" into the worldspace, which gives that instance a Ref-ID so you can interact with it. But prior to that, there is nothing for the script to act upon. You can initially place the Actor in some "inaccessible" location and move them to where you want them when needed. No "simple tutorial". A lot of them on specific aspects of modding. (It's a complex subject.) Suggest you take a look at the following sections of the wiki "Getting started creating mods using GECK" article:. Each "section" has various tutorials linked in the beginning, in addition to "Tips" contributed by experienced mod creators: * GECK Form-ID Base-ID Ref-ID and Editor-ID* Spawning modded items* Custom NPCs* Scripting - "TIP Referencing Objects" -Dubious- Edited February 5, 2021 by dubiousintent Link to comment Share on other sites More sharing options...
justabot5 Posted February 5, 2021 Author Share Posted February 5, 2021 If the Actor is not placed in the worldspace, then a Reference-ID does not exist. That's what I was thinking.. Thanks for the help and the links, I'll try my hand at it again once I read these! Link to comment Share on other sites More sharing options...
justabot5 Posted February 6, 2021 Author Share Posted February 6, 2021 Finally did it!! Thank you dubiousintent! Link to comment Share on other sites More sharing options...
Recommended Posts