Jump to content

DOWNLOAD MODS

Are you looking for something shiny for your load order? We have many exclusive mods and resources you won't find anywhere else. Start your search now...

LEARN MODDING

Ready to try your hand at making your own mod creations? Visit the Enclave, the original ES/FO modding school, and learn the tricks of the trade from veteran modders...

JOIN THE ALLIANCE

Membership is free and registering unlocks image galleries, project hosting, live chat, unlimited downloads, & more...

DCSkullFreak

Allies
  • Posts

    1
  • Joined

  • Last visited

Everything posted by DCSkullFreak

  1. Don't really have the time to learn the language in depth, Looking for help writing a script that will add a form to a container when the player gives the NPC an amount of gold and then adds the equivalent in player gold when removed. Here's a rough idea of what I'm trying to do. There may be a more simplistic way of achieving the result. Player Gives gold to Vendor, activated through dialogue. Gold is added in increments of 1 via a slider Quick Jumps to 50,100,500,1000,or All ____//// SLIDER \\\\____ (+) = Shout button (-) = Sprint button Chest: checks its own contents ;GU stands for Gold Unit. ;Each Gold Unit represents an accumulative form If Gold added is <50 count by one add form (gold001) x1 up to 49 to Chest If Gold = 50 than = GU GU = Add form (CustomCoinPurse) If Gold >50,<100 Than = GU1 GU1 = Add Form (CustomCoinPurse), + (gold001) x1 up to 49 to Chest If Gold = 100 Than =GU2 Add Form (CustomBag01) to Chest If Gold >100,<500 Than = Custom Expression1 Custom Expression1 = GU2+GU1+GU+(gold001) up to 49 Add Custom Expression to Chest If Gold= 500 Than = GU3 Add Form (CustomBag02) to Chest If Gold >500,<1000 Than = Custom Expression2 Custom Expression2 =GU3+ GU2+GU1+GU+(gold001) up to 49 Add Custom Expression to Chest If Gold=1000 Than = GU4 Add Form (CustomBag03) to Chest Calculate total Item gold and return value Notification "GoldAmount ( ) Deposited" Add Equivalent in Player Gold to Player Inventory upon withdrawl from Account Notification "GoldAmount ( ) Withdrawn" Item Restrict Chest Via Form List BankItemsContainerList - Add (gold001) and GU items to Chest Container as Account Deposit - Remove (gold001) and GU Items in Chest Container as Account Withdrawal -Add Equivalent in Player Gold to Player upon withdrawl from Account
×
×
  • Create New...