Skip to content

Firing a script on conversation escape?

How would I fire a script when the player exits the conversation without properly clicking through it? Like when they hit escape or when they walk away?

Comments

  • TerrorbleTerrorble Member Posts: 179
    In the lower right of the convo editor arrow over to the last tab: "Current File"

    The script in the "Aborted" spot is what I think happens when you exit the convo naturally or prematurely. I've only ever used it for one thing so not much experience with it.
  • Dragonfolk2000Dragonfolk2000 Member Posts: 388
    Thanks for the response! I'll check that out!
  • sunxresunxre Member Posts: 23
    Didn't know about above solution, if it works.

    But just in case, you can have a delay(0.5-6.0, function()) checking for IsInConversation(pc) && GetLocalInt(pc, "stillinconv"). Adding int on conversation enter, and Deleting the localint on the pc when you pick options that end dialogue naturally.
Sign In or Register to comment.