Verb direct one's hopes or ambitions toward achieving something

A chameleon that aspires to be a swashbuckling hero finds himself in a Western town plagued by bandits and is forced to literally play the role in order to protect it.