LimaHotel807 Posted January 27, 2017 Share Posted January 27, 2017 (edited) I'm making a follower and I have a bunch of dialogue set up so that you give him a one off payment of caps to be your follower but I don't know what kind of script to put in as I'm horrible with that sort of thing. Any help would be greatly appreciated. My script already looks like the following: ;Remove CapsGame.GetPlayer().RemoveItem(LHSOC1PCaps,300) It compiles and it works but I need the script to actually check how many caps you have and take the allocated number if you have enough and to reset to a certain section of dialogue if you don't. Edited January 27, 2017 by LimaHotel807 Link to comment Share on other sites More sharing options...
damanding Posted January 27, 2017 Share Posted January 27, 2017 You might want to look at how it was done for Macready. Link to comment Share on other sites More sharing options...
LimaHotel807 Posted January 28, 2017 Author Share Posted January 28, 2017 (edited) You might want to look at how it was done for Macready.That's what I did and that's where I got the original script but it takes whatever caps you have if you don't have 300 caps and I'm lost and don't know where to go from there. Edited January 28, 2017 by LimaHotel807 Link to comment Share on other sites More sharing options...
llamaRCA Posted January 28, 2017 Share Posted January 28, 2017 You might want to look at how it was done for Macready.That's what I did and that's where I got the original script but it takes whatever caps you have if you don't have 300 caps and I'm lost and don't know where to go from there. Use the conditions you can set on the dialogue lines themselves. You can check GetItemCount on the player. Check for Caps < 300 and don't take the money in that one and condition another for GetItemCount Caps > 299 (or whatever numbers you want to use) and that one removes the player's caps. Link to comment Share on other sites More sharing options...
Recommended Posts