Author Topic: Taking all equipment in inventory ?  (Read 1547 times)

Offline Baldurien

  • Planewalker
  • *****
  • Posts: 28
Taking all equipment in inventory ?
« 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 ?


Offline SimDing0

  • Back In Black
  • Global Moderator
  • Planewalker
  • *****
  • Posts: 3496
  • Gender: Male
  • Word Enhancer
Re: Taking all equipment in inventory ?
« Reply #1 on: July 22, 2004, 07:00:11 AM »
You might try DropInventory().

Offline Baldurien

  • Planewalker
  • *****
  • Posts: 28
Re: Taking all equipment in inventory ?
« Reply #2 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 ?
« Last Edit: July 22, 2004, 07:18:43 AM by Baldurien »

Aristothenes

  • Guest
Re: Taking all equipment in inventory ?
« Reply #3 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.

Offline Baldurien

  • Planewalker
  • *****
  • Posts: 28
Re: Taking all equipment in inventory ?
« Reply #4 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

Offline Caswallon

  • Telvanni Archmagister
  • Planewalker
  • *****
  • Posts: 324
  • Gender: Male
    • BG Forum
Re: Taking all equipment in inventory ?
« Reply #5 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?
Man's Mystery
Man is mortal, and doomed to death and failure and loss.
This lies beyond our comprehension - why do you not despair?
--Spirit of the Daedra--

Offline Baldurien

  • Planewalker
  • *****
  • Posts: 28
Re: Taking all equipment in inventory ?
« Reply #6 on: July 22, 2004, 08:43:02 PM »
Thanx, that saved me a lot of time

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: