brownbear258 Posted October 3, 2011 Share Posted October 3, 2011 whats that script effect for a line of dialogue where you give an ncp something like paying mick 500 caps for the passport without opening the barter menu Link to comment Share on other sites More sharing options...
llamaRCA Posted October 3, 2011 Share Posted October 3, 2011 whats that script effect for a line of dialogue where you give an ncp something like paying mick 500 caps for the passport without opening the barter menu To give a NPC 500 caps in dialogue you would write the following line in the results script of the dialouge. I'd put it into the Resuts Script End so he'd get it at the end of the line of dialogue and if you want you could add the Idle Animation in the dropdown box when you do the actual dialogue (the pop up box for the actual line of dialogue) of LooseNPCTaking so it looks like he took something from you as well. NPCref.AddItem Caps001 500 Link to comment Share on other sites More sharing options...
Quetzlsacatanango Posted October 3, 2011 Share Posted October 3, 2011 That will give him caps but it won't take them from the player, which is probably the more important part. player.removeitem f 500 Link to comment Share on other sites More sharing options...
llamaRCA Posted October 3, 2011 Share Posted October 3, 2011 That will give him caps but it won't take them from the player, which is probably the more important part. player.removeitem f 500 Oops. Thanks. :blush: Link to comment Share on other sites More sharing options...
Quetzlsacatanango Posted October 3, 2011 Share Posted October 3, 2011 Nah I like actually giving the NPC the caps they take from you. That way you can steal 'em back :) Link to comment Share on other sites More sharing options...
brownbear258 Posted October 3, 2011 Author Share Posted October 3, 2011 ok i need help on another dialogue script or atleast i think its a dialogue script. once you agree to pay x amount of caps, rubble is removed from a door way and your able to enter that building now. but how do i get the NPC to move into the building after i payed the caps? Link to comment Share on other sites More sharing options...
Recommended Posts