[Ohrrpgce] [ohrrpgce/ohrrpgce] Mouse/Touch dismount from vehicles (#29)

James Paige notifications at github.com
Sun Nov 10 11:49:27 PST 2019


You mis-read user_triggered_vehicle_use_action()
That function returns true if you click on the hero, not if you click
elsewhere.
That is for use actions like the script to dismount the myrmidon suit in
Wandering Hamster.

On Sat, Nov 9, 2019 at 11:13 PM Ralph Versteegen <notifications at github.com>
wrote:

> Oh, that's pretty neat.
>
> I haven't tested it, but I notice user_triggered_vehicle_use_action()
> returns true if you click anywhere except on the hero. Is that correct? I
> suppose that if you click on a reachable tile then the hero will start
> pathfinding (update_hero_pathfinding, which is called before
> update_vehicle_state, will set x/ygo, which disables vehicle controls),
> but there are so many edge cases, like if you click on a tile outside
> pathfinidng range.
>
>> You are receiving this because you modified the open/close state.
> Reply to this email directly, view it on GitHub
> <https://github.com/ohrrpgce/ohrrpgce/issues/29?email_source=notifications&email_token=AA2IR6MFIF6ZPDK4MCPL3V3QS6C5FA5CNFSM4IPHIHPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDUU4ZY#issuecomment-552160871>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AA2IR6MVMQ2WLVOIB7LSI5LQS6C5FANCNFSM4IPHIHPA>
> .
>


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ohrrpgce/ohrrpgce/issues/29#issuecomment-552227305
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20191110/bdbdbe73/attachment-0001.html>


More information about the Ohrrpgce mailing list