LordVader1 Posted October 5, 2011 Share Posted October 5, 2011 Does anybody know the script to use to spend money? Like Example theres a dialog and you want to buy something like a Weapon, I already know the script to get the weapon but what I dont know what the script is to Give Credits for the weapon. Can Someone please tell me the script to do this. Link to comment Share on other sites More sharing options...
DarthStoney Posted October 6, 2011 Share Posted October 6, 2011 In TSL the script is in there "a_takecredits" don't know if one exists in K1 but this should still work. void main() { int nCredits = GetScriptParameter( 1 ); TakeGoldFromCreature ( nCredits, GetFirstPC () ); } Link to comment Share on other sites More sharing options...
Fastmaniac Posted October 6, 2011 Share Posted October 6, 2011 It's like that in K1, too. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.