Pocket Plane Group

Miscellany, Inc. => Infinity Engine Modding Q&A => Topic started by: Baldurien on July 22, 2004, 06:56:17 AM

Title: Taking all equipment in inventory ?
Post by: Baldurien on July 22, 2004, 06:56:17 AM
Hello,

I am making my own dialog multij.dlg and I have a little problem : I would like the PC (a male) to have sex with a female PC when he is at the Copper Coronner.
I can do it, I know how to do.

Since, when you have sex you usually don't wear armor, weapons and other stuff : that's my problem : I would like to unwear the armor, drop the sword, etc.

I don't know what equipment the protagonist use, and then I searched into the Scripting Quick Reference for an appropriate function, and did not found any usefull functions (like in Nwn, with GetItemInSlot() that return the item in slot) ...

is there any ?

How could I unwear my character ?

Title: Re: Taking all equipment in inventory ?
Post by: SimDing0™ on July 22, 2004, 07:00:11 AM
You might try DropInventory().
Title: Re: Taking all equipment in inventory ?
Post by: Baldurien on July 22, 2004, 07:14:56 AM
Hum, I thougt it was to drop all the inventory except for the armor ? (ie: the 16 slots on the bottom)

I will test.

As I am here (I can't go to http://iesdp.teambg.net/scripting/bg2actions.htm since it timeout :x ) How Could I use the spell Draw upon holy might with the casting effect, but without losing the spell ?
Title: Re: Taking all equipment in inventory ?
Post by: Aristothenes on July 22, 2004, 11:24:09 AM
Adding some colour and culture of the yellow type I see...
Just let us have that dialog mod when you're done.
I'm just babbling.
Title: Re: Taking all equipment in inventory ?
Post by: Baldurien on July 22, 2004, 12:01:31 PM
First I try to get it with the CutScene... Since the NPC does not have anything to recognize him :x
Title: Re: Taking all equipment in inventory ?
Post by: Caswallon on July 22, 2004, 01:56:09 PM
IESDP is temporarily hosted here:
http://www.gibberlings3.net/iesdp/

For Draw Upon Holy Might, it's SpellNoDec() you're looking for if you want to cast and apply the spell.
Or do you just want the GFX without the actual effects?
Title: Re: Taking all equipment in inventory ?
Post by: Baldurien on July 22, 2004, 08:43:02 PM
Thanx, that saved me a lot of time