Firing a script on conversation escape?
Dragonfolk2000
Member Posts: 388
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?
0
Comments
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.
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.