You mis-read user_triggered_vehicle_use_action()<br>
That function returns true if you click on the hero, not if you click<br>
elsewhere.<br>
That is for use actions like the script to dismount the myrmidon suit in<br>
Wandering Hamster.<br>
<br>
On Sat, Nov 9, 2019 at 11:13 PM Ralph Versteegen <notifications@github.com><br>
wrote:<br>
<br>
> Oh, that's pretty neat.<br>
><br>
> I haven't tested it, but I notice user_triggered_vehicle_use_action()<br>
> returns true if you click anywhere except on the hero. Is that correct? I<br>
> suppose that if you click on a reachable tile then the hero will start<br>
> pathfinding (update_hero_pathfinding, which is called before<br>
> update_vehicle_state, will set x/ygo, which disables vehicle controls),<br>
> but there are so many edge cases, like if you click on a tile outside<br>
> pathfinidng range.<br>
><br>
> —<br>
> You are receiving this because you modified the open/close state.<br>
> Reply to this email directly, view it on GitHub<br>
> <https://github.com/ohrrpgce/ohrrpgce/issues/29?email_source=notifications&email_token=AA2IR6MFIF6ZPDK4MCPL3V3QS6C5FA5CNFSM4IPHIHPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDUU4ZY#issuecomment-552160871>,<br>
> or unsubscribe<br>
> <https://github.com/notifications/unsubscribe-auth/AA2IR6MVMQ2WLVOIB7LSI5LQS6C5FANCNFSM4IPHIHPA><br>
> .<br>
><br>


<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/ohrrpgce/ohrrpgce/issues/29?email_source=notifications&email_token=AMWGWZRDFRFBPJ63OE4KAHTQTBQUPA5CNFSM4IPHIHPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDVFD2I#issuecomment-552227305">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AMWGWZSUXPHYLB7VS3GUFG3QTBQUPANCNFSM4IPHIHPA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AMWGWZUNHGYGRQTEGMRHTSTQTBQUPA5CNFSM4IPHIHPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDVFD2I.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/ohrrpgce/ohrrpgce/issues/29?email_source=notifications\u0026email_token=AMWGWZRDFRFBPJ63OE4KAHTQTBQUPA5CNFSM4IPHIHPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDVFD2I#issuecomment-552227305",
"url": "https://github.com/ohrrpgce/ohrrpgce/issues/29?email_source=notifications\u0026email_token=AMWGWZRDFRFBPJ63OE4KAHTQTBQUPA5CNFSM4IPHIHPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDVFD2I#issuecomment-552227305",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>