View Full Version : get item from other module
07-02-2004, 10:50 PM
Is it possible to do that with a script ?
get an item wich is in an other module
by using for exemple this function :
exemple : I am out of the ebon hawk and I would get item possessed by a NPC who is in the ebon hawk.
07-02-2004, 11:17 PM
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 ?
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
07-02-2004, 11:27 PM
I mean for exemple :
carth is equiped with a sword and is in the ebon hawk
I am out of the ebon hawk (exemple : jedi council room) and I want get the carth's sword by script
07-04-2004, 10:02 AM
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 :)
07-04-2004, 10:18 AM
ok thank you, it is what I was thinking
vBulletin®, Copyright ©2000-2013, Jelsoft Enterprises Ltd.