Addon - trying to prevent death by missing a visible enemy
Posted: Wed Dec 27, 2017 4:54 pm
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...
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...