Page 1 of 1

Selector out of range action?

Posted: Wed Oct 14, 2015 11:39 am
by Arcanor
I'd like to display an Alert when the player clicks on an Actor that's beyond their Usable range. Looking Selector.cs Update(), I see that nothing happens if distance > usable.maxUseDistance.

Is this kind of functionality something you might consider adding to Dialogue System? Or should I hack something in?

Re: Selector out of range action?

Posted: Wed Oct 14, 2015 2:04 pm
by Tony Li
Good idea! I'll add this and post a patch containing the updated Selector.cs.

Re: Selector out of range action?

Posted: Wed Oct 14, 2015 10:19 pm
by Tony Li
Walt - I just PM'ed you your access info for the customer download page where you can download a patch. The updated Selector lets you specify a "too far" alert message and/or invoke a custom event such as calling Play() on an Audio Source.

Re: Selector out of range action?

Posted: Thu Oct 15, 2015 5:47 am
by Arcanor
Thanks so much Tony. That sounds great! I'll test it out today and let you know how it works in my game.

Awesome service!!!

Re: Selector out of range action?

Posted: Thu Oct 15, 2015 8:52 pm
by Arcanor
Works great, thanks Tony!