I'd like to obtain with script call (for HUD) currently selected battler name. Is there a specific script call for that?
MV Obtain in battle ON SELECTION target name
Learning JavascriptFor the current selecting actor (the one who is choosing the skill)
For the actor currently selected (the one who will be targeted by the skill)
JavaScript:
BattleManager.actor().name()
JavaScript:
SceneManager._scene._actorWindow.actor().name()
How would I go about finding the currently selected enemy's name?
Use similar procedure but with enemy window instead:
JavaScript:
SceneManager._scene._enemyWindow.enemy().name()
Thank you SO much! I have been searching for this for longer than I can remember. Another thing to check off my to-do list.

Original thread: https://forums.rpgmakerweb.com/threads/obtain-in-battle-on-selection-target-name.131691/