Jump to content


Photo

TakeItemReplace


  • Please log in to reply
6 replies to this topic

#1 Azrii

Azrii

    Iltha Windspear

  • Member
  • 65 posts

Posted 09 October 2003 - 04:30 PM

Does anyone happen to know if TakeItemReplace will work in dlg, as opposed to bcs? I've finally finished Iltha's Book of Tenets, which are undroppable items in her quick slot (one at a time). I've made seven of them, IWBOOK01 thru IWBOOK07, with progressive bits of information respectively. I want to TakeItemReplace("IWBOOK02","IWBOOK01",Myself)
, TakeItemReplace("IWBOOK03","IWBOOK02",Myself), etc after each tenet talk block in dlg.

Can I do this with DO command at end of each tenet talk block just before EXIT END or do I need to set some sort of local global and have this command in script?

Thanks.

Yes, yes, why don't I compile and test myself. I'm in a coding/writing/lessgo! mode right now :D , not in a compile/test/*&)*&  mode :angry: !
Minister of disinformation
Iltha Windspear
Working on Iltha Windspear Expansion. At left is Iltha, not me! I'm a guy. Who's Azrii you ask? She's the one who taught me it's a lot easier to fly with a basic storyline in hand as opposed to relying on my 'intuitive and ingenious' imagination.

#2 Rastor

Rastor

    Yes, I really am a dragon. Yes, I am a jerk. Live with it.

  • Member
  • 2001 posts

Posted 09 October 2003 - 05:41 PM

Never tried to do it myself, but I think that the original Bioware dialogues do at places, so it should work fine.
Home of Kitanya, Improved Asylum, more...

Posted Image

#3 Azrii

Azrii

    Iltha Windspear

  • Member
  • 65 posts

Posted 09 October 2003 - 07:17 PM

Disregard thread, tested action in dlg, ran fine. :blink:
Thanks, Rastor, for response.  ;)
Azrii
Minister of disinformation
Iltha Windspear
Working on Iltha Windspear Expansion. At left is Iltha, not me! I'm a guy. Who's Azrii you ask? She's the one who taught me it's a lot easier to fly with a basic storyline in hand as opposed to relying on my 'intuitive and ingenious' imagination.

#4 Welverin

Welverin
  • Member
  • 26 posts

Posted 11 October 2003 - 05:04 AM

A lttle off-topic: TakeItemReplace() should work fine in scripts (.bcs) as long as this script is placed on creature, at least as far as I know :rolleyes:

#5 MagusWizardo

MagusWizardo

    Don't ask... please don't ask.

  • Member
  • 201 posts

Posted 11 October 2003 - 03:15 PM

A lttle off-topic: TakeItemReplace() should work fine in scripts (.bcs) as long as this script is placed on creature, at least as far as I know :rolleyes:

NOt necesarily a creature - can be any object.

#6 Welverin

Welverin
  • Member
  • 26 posts

Posted 12 October 2003 - 12:47 PM

NOt necesarily a creature - can be any object.

Well, I know that :rolleyes: I just thought that since we're talking about dialog than creature suits situation a bit more than for example container :lol:

#7 MagusWizardo

MagusWizardo

    Don't ask... please don't ask.

  • Member
  • 201 posts

Posted 13 October 2003 - 02:46 AM

Well, I know that :rolleyes: I just thought that since we're talking about dialog than creature suits situation a bit more than for example container :lol:

"hi, crate, how are you?"
"I'm ok, bookshelf... say, swap you this board for that book that opens the secret passage?"

:D :lol: :D