his
his <creature>
The possessive pronoun for a creature — his, her, or its.
Use it to describe something belonging to a creature without hard-coding a
gender. It pairs with he (subject pronoun) and him
(object pronoun).
Arguments
<creature>— the creature whose pronoun you want.
Returns
A string — the possessive pronoun (his, her, or its), matching
the creature's gender.
Examples
after command (wave) {
do "say [name $actor] waves [his $actor] hand in greeting."
}
When the actor is the mob Puff (gender female), [his $actor] evaluates
to her, so the mob says "Puff waves her hand in greeting."
See also
he— the subject pronoun (he/she/it).him— the object pronoun (him/her/it).name— the creature's display name.- Strings and interpolation — building sentences with
$name.