Jump to content

Is it possible to trigger a Dialogue Package event in a script?


Recommended Posts

Posted
I'm working on a quest script with a timed event, where the player have a limited amount of time. I'm looking for a way to trigger the conversation to continue with the very same NPC after X seconds. I know there's something to do with Dialogue Package but is it possible to call it from a looping quest script?
Posted

You can do it via package, but I find it to be a PITA.

Instead, I usually use startconversation.

i.e.

if xyz
actorref.startconversation player topicname
endif

 

It's a lot easier to trigger on demand, I find. Especially if you put it on a trigger box.

Posted

If you do use the dialog package, you script it this way:

 

actorRef.Addscriptpackage Packagename

Posted
  On 11/12/2010 at 6:46 PM, Quetzlsacatanango said:

You can do it via package, but I find it to be a PITA.

Instead, I usually use startconversation.

i.e.

if xyz
actorref.startconversation player topicname
endif

 

It's a lot easier to trigger on demand, I find. Especially if you put it on a trigger box.

 

Excellent! Thank you very much that was exactly what i was looking for. I endorse 100% what you said about the package and the PITA ;) i was about to punch my screen real bad...

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...