Jump to content

Home

get item from other module


jrc24

Recommended Posts

Is it possible to do that with a script ?

 

get an item wich is in an other module

 

by using for exemple this function :

GetItemPossessedBy(oNPC, "item_name")

 

exemple : I am out of the ebon hawk and I would get item possessed by a NPC who is in the ebon hawk.

Link to comment
Share on other sites

1.Do you mean like if Carths back in the 'Hawk holding a sword and you want to equip it on say Mission whos standing beside you ?

 

Or

 

2.Do you mean a mercahnt on the 'Hawk how has something you want in his inventory ?

 

If 1 then the latest patch adds to the equip screen the ability to look at the inventory of all current party members , use the little arrows near the tiny little portraits at the bottom of the equip screen

 

If 2 .. I cant help , scripting gives me a headache just looking at it

Link to comment
Share on other sites

I may be wrong (please correct me someone if this is the case)with this but I believe it is not possible. However, you could use the SetGlobalNumber or SetGlobalBoolean when you acquire the weapon.

 

Then, when the time comes, use GetGlobalNumber or GetGlobalBolean according to the chosen solution. Perhaps use also CreateObject to create the object on yout PC (don't forget to use destroy object after or you'll end up with Duplicate weapons).

 

Knowing what you want to do however, this may not be exactly what you are looking for... :(

 

If you use the above method, you'll have to edit GlobalCat.2da as well.

 

Hope this helps :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...