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