Tutorial of Karma System in Dialogue System

Announcements, support questions, and discussion for the Dialogue System.
HaiiroMukuro
Posts: 80
Joined: Sun Jul 17, 2016 3:38 pm

Re: Tutorial of Karma System in Dialogue System

Post by HaiiroMukuro »

Yes.
User avatar
Tony Li
Posts: 21079
Joined: Thu Jul 18, 2013 1:27 pm

Re: Tutorial of Karma System in Dialogue System

Post by Tony Li »

HaiiroMukuro wrote:Yes.
Hi - Does this mean you use a Selector like the Feature Demo? If so, set the Conversation Triggers to OnUse.
HaiiroMukuro
Posts: 80
Joined: Sun Jul 17, 2016 3:38 pm

Re: Tutorial of Karma System in Dialogue System

Post by HaiiroMukuro »

Oh, wait let me check . :)
HaiiroMukuro
Posts: 80
Joined: Sun Jul 17, 2016 3:38 pm

Re: Tutorial of Karma System in Dialogue System

Post by HaiiroMukuro »

It's working now, thank you :D
User avatar
Tony Li
Posts: 21079
Joined: Thu Jul 18, 2013 1:27 pm

Re: Tutorial of Karma System in Dialogue System

Post by Tony Li »

Glad to help!
HaiiroMukuro
Posts: 80
Joined: Sun Jul 17, 2016 3:38 pm

Re: Tutorial of Karma System in Dialogue System

Post by HaiiroMukuro »

Is this the right script for resetting the karma?

Code: Select all

Variable["Karma"] = Variable["Karma"] == 50;
ShowAlert("<color=green>Karma has reset</color>")
User avatar
Tony Li
Posts: 21079
Joined: Thu Jul 18, 2013 1:27 pm

Re: Tutorial of Karma System in Dialogue System

Post by Tony Li »

Try this to reset Karma to zero:

Code: Select all

Variable["Karma"] = 0;
ShowAlert("<color=green>Karma has reset</color>")
HaiiroMukuro
Posts: 80
Joined: Sun Jul 17, 2016 3:38 pm

Re: Tutorial of Karma System in Dialogue System

Post by HaiiroMukuro »

Thanks! :D
Post Reply