DavidColson / UnrealInk

Integration of the Ink language into Unreal 4 (https://github.com/inkle/ink)
110 stars 25 forks source link

“Choose Path String” seems not to work #12

Open eje211 opened 3 years ago

eje211 commented 3 years ago

I’m working on a project that needs extensive use of the Choose Path String feature. I made a know and called that function with the name of the knot as its argument and the story did not change. To be completely honest, I did not try this in InkJS, but the definition of the method seems pretty straightforward. Is there a known problem with this method?

Thanks.

JohanHellgren commented 3 years ago

Not sure why, but you need to add an empty item to the vars array and set its type to anything but "none".

pathchoice

eje211 commented 3 years ago

I actually worked! I’m not sure where, but it would good to document this. I spent hours on this. I actually tried to look for the old data and put it back in, but I could never find the old data so Vars always stayed empty.