Sign in to follow this  
spideyseth

Dialogue for terminals

Recommended Posts

I am trying to create my own placeable console like the ones you can find in Kotor 1. I linked some dialogue to it but the problem is the dialogue isn't executing when I click the console in game.

Dlg comp.PNG

Edited by spideyseth
Clarification

Share this post


Link to post
Share on other sites

Assuming your DLG and UTP are in the MOD or Override folder and the ResRef matches, then that would suggest some issue with the DLG itself. Did you edit/create it with KOTOR Tool? Because that doesn't work for TSL (should still work for K1 though). You might need to attach the DLG so it can be looked at.

Share this post


Link to post
Share on other sites

Placeables don't automatically use dialog files the way NPCs do. You'll need to put a script in the OnUsed slot to make them run it when clicked.

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

Something like this should work.

Share this post


Link to post
Share on other sites
15 hours ago, TamerBill said:

Placeables don't automatically use dialog files the way NPCs do. You'll need to put a script in the OnUsed slot to make them run it when clicked.


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

Something like this should work.

Thanks for helping it worked perfectly!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this