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...

Search the Community

Showing results for tags 'Traders Chest'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community Boards
    • About TESA
    • TESA Community
  • Hosted Boards
    • The Enclave
    • Hosted Projects
  • Gaming Boards
    • The Elder Scrolls
    • Fallout
    • Indie Games
  • RPG Boards
    • Roleplaying

Categories

  • Showcase
    • Skyrim
    • Fallout
    • Oblivion
    • Misc
  • Exclusives
    • Skyrim
    • Fallout
    • Oblivion
    • Morrowind
    • Misc
  • Community Works
    • Skyrim
    • Oblivion
    • Fallout
    • Misc
    • Student Projects

Categories

  • ESV: Skyrim Modding
    • Creation Kit Basics
    • Level Design
    • Character Design
    • Papyrus
    • Quest Design & Dialogue
    • Graphic Artistry
    • 3D Craftworks
  • ESIV: Oblivion Modding
    • Construction Set Basics
    • Worldbuilding
    • NPCs & Radiant AI
    • Scripting
    • Questbuilding & Dialogue
    • Story & Lore
    • Texturing
    • Modeling
    • Miscellaneous
  • ESIII: Morrowind Modding
    • Tool Set Basics
    • Worldbuilding
    • NPCs
    • Scripting
    • Questbuilding
    • Texturing
    • Modeling
  • Fallout 3 Modding
    • GECK Basics
    • Worldbuilding
    • NPCs & Radiant AI
    • Scripting
    • Questbuilding & Dialogue
    • Texturing
    • Modeling
  • Gaming Guides
    • Oblivion Gaming
    • Morrowind Gaming
    • Fallout 3 Gaming
  • Miscellaneous Tutorials
  • TES Alliance HowTo Guides

Product Groups

  • VIP Memberships
  • Subscriptions

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Steam


XBox Live ID


MSN


Skype


Location


Interests

Found 1 result

  1. Hello All, I am currently writing a script in which, if an item is added to a chest, it will return with gold after an amount of time. I keep running into the problem that the gold value being returned is equal to the base item's gold value and not the value of the item itself (enchanted items). Below is an example of my script and if anyone could help it would be greatly appreciated. ScriptName TradersChest02 Extends ObjectReference Int Property TradersGold Auto MiscObject Property Gold Auto Event OnItemAdded(Form GetFormID, int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer) Int value = (GetGoldValue() * aiItemCount) TradersGold += Value registerforupdategametime(24.0) EndEvent Event OnItemRemoved(Form GetFormID, int aiItemCount, ObjectReference akItemReference, ObjectReference akDestContainer) Int value = (GetGoldValue() * aiItemCount) TradersGold -= Value If TradersGold < 0 TradersGold = 0 endif EndEvent Event OnUpdateGameTime() if TradersGold > 0 TradersGold = TradersGold*90/100 self.removeallitems() self.additem(Gold,TradersGold) TradersGold = 0 endif EndEvent
×
×
  • Create New...