Kegs?

A place for players to discuss building content (toolset Q&A etc.)
Post Reply
Vay
Dasarian
Posts: 184
Joined: Fri Dec 01, 2006 7:19 pm
Location: Columbus, OH
Contact:

Kegs?

Post by Vay »

So, in the area I'm working on, I'm trying to put kegs in much like many of the kegs that exist in Das 2. Ones that you can click on and they start a conversation where you can choose to pour yourself a brew. However, I can't figure out what I'm doing wrong, and each time I test the mod., I'm able to select (highlight) the keg but unable to start the conversation I have linked to it. Anyone?
Last edited by Vay on Tue May 01, 2007 3:54 pm, edited 1 time in total.
~~~ Vay Ust'iel I'draeh ~~~
Image
Rob
Forum Troll
Posts: 3146
Joined: Fri Sep 22, 2006 9:39 pm
Other PCs: Amir Ma'fir, Darius Aylomen, Dewey Scoville, Jack Red-Eyes, Jørann, Kale, Leopold von Bruhl, Modelo Del Mar & Quintus d'Cerevallia
Bioware Username: robertharris
Location: Dallas, TX

Post by Rob »

Make sure static is set to false and useable is set to true.
Vay
Dasarian
Posts: 184
Joined: Fri Dec 01, 2006 7:19 pm
Location: Columbus, OH
Contact:

Post by Vay »

Yeah... I just realized I mistyped. It's not that I can't select it, it's that the conversation won't start when I click on it. Sorry, Rob. I was editing my post right as you replied.
~~~ Vay Ust'iel I'draeh ~~~
Image
Rob
Forum Troll
Posts: 3146
Joined: Fri Sep 22, 2006 9:39 pm
Other PCs: Amir Ma'fir, Darius Aylomen, Dewey Scoville, Jack Red-Eyes, Jørann, Kale, Leopold von Bruhl, Modelo Del Mar & Quintus d'Cerevallia
Bioware Username: robertharris
Location: Dallas, TX

Post by Rob »

You have to initiate the conversation via a script. A script already exists for starting conversations with objects (X0_STARTCONV). Place X0_STARTCONV in the objects on used event.
Wyvern
Forum Troll
Posts: 2349
Joined: Fri Sep 22, 2006 3:16 am
Contact:

Post by Wyvern »

Are you sure it isn't nw_g0_convplac?
It's just a game...
Rob
Forum Troll
Posts: 3146
Joined: Fri Sep 22, 2006 9:39 pm
Other PCs: Amir Ma'fir, Darius Aylomen, Dewey Scoville, Jack Red-Eyes, Jørann, Kale, Leopold von Bruhl, Modelo Del Mar & Quintus d'Cerevallia
Bioware Username: robertharris
Location: Dallas, TX

Post by Rob »

Code: Select all

//::///////////////////////////////////////////////
//:: nw_g0_convplac
//::
//:: Copyright (c) 2002 Bioware Corp.
//:://////////////////////////////////////////////
/*
    Cause a placeable object to start a
    conversation with the PC.
    
    Use this script as the OnUsed event
    of a Placeable object that is flagged as
    Useable, Has NO Inventory, and is NOT Static.
*/
//:://////////////////////////////////////////////
//:: Created By: Sydney Tang
//:: Created On: Aug 08, 2002
//:://////////////////////////////////////////////

void main()
{
    ActionStartConversation(GetLastUsedBy());
}

//::///////////////////////////////////////////////////
//:: X0_STARTCONV
//:: Start a conversation with the user
//:: Copyright (c) 2002 Floodgate Entertainment
//:: Created By: Naomi Novik
//:: Created On: 01/13/2003
//::///////////////////////////////////////////////////

void main()
{
    ActionStartConversation(GetLastUsedBy());
}
Awesome!
Vay
Dasarian
Posts: 184
Joined: Fri Dec 01, 2006 7:19 pm
Location: Columbus, OH
Contact:

Post by Vay »

Thanks Rob & Wyv. Wyv, I tried the script he suggested, and it seemed to work just fine, fyi.
~~~ Vay Ust'iel I'draeh ~~~
Image
Post Reply

Return to “The Carpenter's Hall”