How to Get Current Dialogue Entry ID?
Posted: Mon Jul 15, 2024 8:07 am
Context:
I have added two new fields to Dialogue Entries called "Points" and "Turn Cost".
I want to access the current dialog entry ID so that I can launch a Lua script.
====
AddPoints(Variable["Conversant"], GetEntryNumber(ID, "Points"));
DebugLog(GetEntryNumber(ID, "Points"));
====
Bonus Question: How to make each dialogue entry ALWAYS launch a Lua script?
I have added two new fields to Dialogue Entries called "Points" and "Turn Cost".
I want to access the current dialog entry ID so that I can launch a Lua script.
====
AddPoints(Variable["Conversant"], GetEntryNumber(ID, "Points"));
DebugLog(GetEntryNumber(ID, "Points"));
====
Bonus Question: How to make each dialogue entry ALWAYS launch a Lua script?