Jump to content

Module Help


Lasseda

Recommended Posts

Okay - so I am new to this whole, modding thing but just got through making a couple weapons to see how toolset and I worked together. I finished that part just fine - but now comes the problem of getting the items into my inventory.

 

I am no scripter and every tutorial I've read has me scratching my head. So my question is this - is there some monkeyfied version of the script and possibly tutorial? I also remember reading somewhere that there was a script for this included in the core of the game but I have yet to locate it :/

 

Thanks in advance!

Link to comment
Share on other sites

Just try the bottom script in this tutorial.

 

http://dragonagemodding.wordpress.com/2009...efore-spawning/

 

To add multiple items at once just repeat this part (example follows)

 

object oItem1 = GetObjectByTag("test_item_1");

if (!IsObjectValid(oItem1))

UT_AddItemToInventory(R"test_item_1.uti",1);

 

object oItem2 = GetObjectByTag("test_item_2");

if (!IsObjectValid(oItem2))

UT_AddItemToInventory(R"test_item_2.uti",1);

 

Put the rest of script from the tutorial mentioned above ... and dont forget to set this script in module properties as the main script.

 

Hope it helps.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...