Page 1 of 1

Addon - trying to prevent death by missing a visible enemy

Posted: Wed Dec 27, 2017 4:54 pm
by Stephen2
So I died 2-3 times as an Archmage, because I was using the arrow keys to move (not auto-explore), and didn't notice an enemy, or got lazy...

Anyway, this addon detects if you're moving with arrow keys, and if enemies are visible pops up a Confirm dialog before processing the move.

Forced, or otherwise skill based moves (phase door/teleport) don't trigger the dialog.

https://te4.org/games/addons/tome/no_mo ... my_visible


Would really like to know if there's a better way to code this thing, I've not done any LUA, or TE4 modding before...

Re: Addon - trying to prevent death by missing a visible ene

Posted: Fri Jan 05, 2018 12:24 am
by Stephen2
1.1.0:
- included wait "5" key
- included checking for projectiles

Re: Addon - trying to prevent death by missing a visible ene

Posted: Mon Jan 08, 2018 11:25 am
by Stephen2
1.2.0:
- added configuration settings

This is so I can play other classes (e.g., Brawler) who don't want an annoying popup on MOVE every turn, but you still definitely don't want to die because you pressed the "5" key by accident

Re: Addon - trying to prevent death by missing a visible ene

Posted: Tue Jan 09, 2018 9:44 am
by Stephen2
1.3.0:
- added worldmap warning as separate config item

Because I hate those overworld patrols and find them very tough, and also easy to miss... One wrong step with one visible and you're trapped, so this setting helps you be careful when they're around

Re: Addon - trying to prevent death by missing a visible enemy

Posted: Thu Nov 25, 2021 8:08 pm
by Stephen2
1.4.0:
- added 'Ignore Doomed shadows' as separate config item

These pervasive little buggers can be ignored