PlayActorBark
An actor says a line of one of the game’s barks.
bark is one of the plain words below or the game’s own name of a bark (the barks). The line is
picked at random among those the actor’s own voice recorded, else among those a voice of its gender has; a woman’s body takes the
women’s pool of a word. The words: greeting, greeting_reply, greeting_respectful, greeting_noble, greet_player, farewell,
self_talk, whistle_happy, whistle_sad, work_sigh, work_talk, smith_work, butcher_work, farmer_work,
woodcutter_work, carpenter_work, guard_mutter, innkeeper_talk, innkeeper_closing, toast, order_drink, order_food,
market_call, market_call_baker, market_call_smith, market_call_food, shop_welcome, shop_thanks, shop_no_sale, pray,
pray_morning, pray_night, amen, going_to_bed, woken_up, let_me_sleep, weapon_seen, sneaking_seen, pain,
pain_heavy, dying, wounded_moan, comfort_wounded, fight_grunt, out_of_breath, spur_horse.
Syntax
Section titled “Syntax”PlayActorBark(id, bark [, range])| Parameter | Type | |
|---|---|---|
id |
number | the actor |
bark |
string | a word above or a bark’s name |
range |
number | metres it carries (20 when not given) (optional) |
Returns
Section titled “Returns”string - the id of the line it says; "" when none
Example
Section titled “Example”-- the trader cries her wares every half minuteSetTimer(function() PlayActorBark(trader, "market_call", 30) end, 30000, true)See also
Section titled “See also”PlayActorVoice · GetBarkLines · OnActorVoiceEnd · the Actor life group of the index
