Hi there!
I believe I probably already asked months ago, but can't find the answer anymore.
I was having a look at PlayerInteraction.cs, deciding if I could extend it by overriding a few methods, but I guess there's a simpler, less intrusive way to do it.
Simply put, on a touchscreen I'd love to:
I'm pretty sure AC is designed in a way that allows me to get this behaviour via scripting, without having to mess with the source code too much.
how would you hook into these events, in a safe way? (eg: in some scenes you can't run, or you can't walk, and I want to avoid breaking these rules)
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Should be possible with the OnCharacterSetPath event, coupled with a check for GetHotspotMovingTo():
Thanks Chris!
I made a few changes, hope this makes sense and didn't forget any corner case scenario.
Maybe I could skip calculating LOS distance, but you never know.