change event picture receiving from a party member

Hi, im creating a ABS and i need to change the events pictures acoording the party members of player's choice,
I want to call this as an event, i was trying this :

$gameMap.event(1).setImage($gameParty.members()[1].actor());"

But its not working, can someone help me with this ?
Note# The party members is not actors list, its the party the player choose when he set formation
I find this and worked !
var event = $gameMap.event(1)
var char = $gameParty.members()[0]._characterName
var index = $gameParty.members()[1]._characterIndex
event.setImage(char, index)

Original thread: https://forums.rpgmakerweb.com/threads/change-event-picture-receiving-from-a-party-member.154868/