Sequence Field in Condition Observer

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
ThaDewey
Posts: 2
Joined: Fri Mar 09, 2018 12:50 pm

Sequence Field in Condition Observer

Post by ThaDewey »

I'm sorry if missed this in my search, but I can't seem to find the Sequence field mentioned in the documentation or the other post under actions for the Condition Observer. am I looking in the wrong spot or do I not know how to use send message properly?

I am wanting to play an audio file once specific conditions are met, and when I place it in the "LUA Code" field I get the "'Invoke function call on non function value.'" like this post. The recommendation is to move to the Sequence Field, but for the life of me, i cannot find it.

Sorry for the trouble and thanks for the help.
User avatar
Tony Li
Posts: 22059
Joined: Thu Jul 18, 2013 1:27 pm

Re: Sequence Field in Condition Observer

Post by Tony Li »

The documentation is incorrect -- but not for long! I'll add the Sequence field into 1.7.7.3, which is being released on Monday.

In the meantime, a workaround is to add a Sequence Trigger to a GameObject (maybe even the same GameObject), and set its Trigger to OnUse. Then to add an element to the Condition Observer's Send Messages section, assign the Sequence Trigger GameObject, and set the Message to OnUse.
ThaDewey
Posts: 2
Joined: Fri Mar 09, 2018 12:50 pm

Re: Sequence Field in Condition Observer

Post by ThaDewey »

awesome! thanks for the update.
Post Reply