Hello,
So basically I wanted to set Dialogue System Variable to ORK variable value. Maybe I'm missing the obvious but I could not find how to do this with existing integration. When you run LUA code with ORK EVENT Lua node, you have to type the whole lua code so there is no way I could see to pass Lua code variable.
If that is possible please tell me.
Otherwise I wrote new Node, by using existing integration nodes as guides. I thought I'd share this here, in case what I wanted is not possible with existing integration someone might find this useful or Tony could include this feature in new integration code.
So anyway here is the code that takes ORK Variable Value and assigns to DS variable.
http://pastebin.com/p1g9cPCa
ORK Integration Set DS Variable to ORK Variable Value
-
- Posts: 112
- Joined: Tue Jan 19, 2016 11:37 pm
Re: ORK Integration Set DS Variable to ORK Variable Value
Thanks! I'll include this as well as a GetVariable event step in the upcoming release.
You're correct about the Lua event step. It was written to use a string literal. Since several projects are already using it, I couldn't change it without breaking their existing events. Your contribution will fill in the gap. Thanks again!
You're correct about the Lua event step. It was written to use a string literal. Since several projects are already using it, I couldn't change it without breaking their existing events. Your contribution will fill in the gap. Thanks again!