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?
Selector out of range action?
Selector out of range action?
Arcanoria Games - http://www.arcanoria.com - indie game development blog
twitter: https://twitter.com/WaltCollins3 @WaltCollins3
Game titles: Pesticide Patrol, Arcanoria Chronicles, CyberGhost, Arcanoria
PLAY NOW: http://arcanor.itch.io/
twitter: https://twitter.com/WaltCollins3 @WaltCollins3
Game titles: Pesticide Patrol, Arcanoria Chronicles, CyberGhost, Arcanoria
PLAY NOW: http://arcanor.itch.io/
Re: Selector out of range action?
Good idea! I'll add this and post a patch containing the updated Selector.cs.
Re: Selector out of range action?
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?
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!!!
Awesome service!!!
Arcanoria Games - http://www.arcanoria.com - indie game development blog
twitter: https://twitter.com/WaltCollins3 @WaltCollins3
Game titles: Pesticide Patrol, Arcanoria Chronicles, CyberGhost, Arcanoria
PLAY NOW: http://arcanor.itch.io/
twitter: https://twitter.com/WaltCollins3 @WaltCollins3
Game titles: Pesticide Patrol, Arcanoria Chronicles, CyberGhost, Arcanoria
PLAY NOW: http://arcanor.itch.io/
Re: Selector out of range action?
Works great, thanks Tony!
Arcanoria Games - http://www.arcanoria.com - indie game development blog
twitter: https://twitter.com/WaltCollins3 @WaltCollins3
Game titles: Pesticide Patrol, Arcanoria Chronicles, CyberGhost, Arcanoria
PLAY NOW: http://arcanor.itch.io/
twitter: https://twitter.com/WaltCollins3 @WaltCollins3
Game titles: Pesticide Patrol, Arcanoria Chronicles, CyberGhost, Arcanoria
PLAY NOW: http://arcanor.itch.io/