Showing a Balloon over a NPC's Head

I'm wondering if I can use this code in a Custom Move Route to show a Balloon over the head of an important NPC:


character.requestBalloon(id); this.setWaitMode('balloon');


If so....  How do you use it?  I know that:


For character: $gamePlayer; $gameMap.event(ID);


But how does this work?  Do I have to make a var character and put this code in it?  How do you work this?

Original thread: https://forums.rpgmakerweb.com/threads/showing-a-balloon-over-a-npcs-head.55789/