Applies to scenario v2.3+
Triggering Gestures in ChatMapper
Triggering Gestures in Scenario
Gestures List (2.9+)
idle | lounge_idle1 | salon_pedicurist_paint | mnmm_blank | walk_turn_right | photo08 |
talk | lounge_idle2 | sitbunnny_getout | mnmm_blank_tara | bassrock_1e | pocketbikeride |
talk2 | walk_backwards | sitbunnny_idle01 | mnmm_deepkiss | beachlounge_exit | spa_hands_up |
yes | walk_forward | sitlisten | mnmm_giveloot | beachlounge_idle01 | reachdown |
no | chair_enter | spatubidle01 | mnmm_givelootv2 | bed_enterl | rsbbeaux |
applause | chair_exit | standwash | mnmm_handshake | bed_enterr | rsbloop |
shhh | dance_nara | stool_enter | mnmm_hug | exit_left | rsbreaux |
laugh | dance_nrg | stool_exit | mnmm_kickball | exit_right | rsbsham |
wave | dance_taraboom | idle_at_bar-long,_peanut | mnmm_kiss | sleep_back | run |
sleepy | dance03_blend | idle_at_bar-_bop_head | mnmm_slodance | boo | salon_manicure_client_idle01 |
busy | dance_twirlgurl | used_in_garden-lookdown | mnms_deepkiss | bumlay_idle01 | salon_manicure_enter |
shrug | crying | walllean_listen01 | mnms_handshake | bumlay_idle02 | salon_manicure_exit |
lips_jaw | doh | wall_enter2 | mnms_hug | bumlay_idle03 | salon_manicure_idle01 |
lips_kiss | flirt_blend | wall_exit2 | mnms_kickball | climb_enter | salon_pedicure_enter |
lips_closed | head_left_right | wall_stand_idle | mnms_kiss | climb_exit | salon_pedicure_exit |
whew | head_up_down | wall_sit_idle | mnms_slodance | climb_exit2 | salon_pedicure_idle01 |
sad | in_love | check_out_bottom | mnmt_deepkiss | climb_exit3 | salon_pedi_client_enter |
scared | john_wave | wardrobe_eyes | mnmt_handshake | climb_idle1 | salon_pedi_client_exit |
shakefist | kiss_blend | check_out_face | mnmt_hug | crowdwave | salon_pedi_client_idle01 |
shoo | laugh_blend | check_out_hair | mnmt_kickball | 2_step_slow_steps | salon_style01 |
smile | not_listening | check_out_shoe | mnmt_kiss | 2_step_x_move | scareknife |
surprised | surprised_blend | check_out_top | mnmt_slodance | dance_deelite_01 | sitbunnny_getin |
tapglass | vomit | chair_idle02_2 | mnss_hug | dance_deelite_02 | skatef01 |
thinking | wave_blend2_limited | dance_thesettle | mnss_kiss | dance_deelite_03 | spatub_idle01 |
thumbsdown | wave_blend3_limited | dance_thecoed | mnst_deepkiss | dance_deelite_04 | spinbottle |
thumbsup | wave_blend4_limited | dance_thebetty | mnst_handshake | dance_deelite_05 | stool_idle01 |
waiting | hottub_siting_float_idle | dance_thepreppy | mnst_hug | dance_drink | stool_idle02 |
giveobject | idle01_01_blend | dance_loop1 | mnst_kickball | dreamweaver | stool_idle03 |
handshake | jump | dance_loop2 | mnst_kiss | dodger_stomp | stool_idle04 |
highfive | lounge_enter | angryold | mnst_slodance | black_tape | sit_enter |
kickball | lounge_exit | wave_blend | mnts_deepkiss | spellmaker | stool_salon_idle_01 |
listen | lounge_idle03 | wave_v1 | mnts_handshake | dance_heeltoe | sumoattackb |
lookat | sidestep | idle01_all | mnts_hug | lean_wit_it | sumoattackc |
point | zen_sit_enter | idle02 | mnts_kickball | shuffle | sumobbattack |
pose | zen_sit_exit | idle02_all | mnts_kiss | v_stepback | sumoidle |
angry | zen_sit_idle | walkb | mnts_slodance | dance_walkitout | sumojabattack |
bow | ac_holdmic | walkf | mntt_hug | dance_ymca_loop1 | sumojabdefend |
brushfeet | ac_upmic | walkf_old | mntt_kiss | dance_ymca_loop2 | sumojmp |
cheer | applause01 | f_sk_side | idle01_02 | dance_ymca_loop3 | sumolongstun |
comehere | applause02 | f_sk_walkb01 | idle01_03 | fiddle_with_controls | sumopowerattack |
cool | applause03 | f_sk_walkb01_crossover | idle01_04 | listening_idle | sumopowerdefend |
cry | enter_patron_barlean | f_sk_walkf01 | idle03_01 | drum01 | sumosde |
drink | exit_patron_barlean | runway_walkf01 | idle03_02 | admirenails | sumoshortstun |
embarrassed | placeholder-_unused? | rwturn | idle03_03 | cryhard | sumostun |
facepalm | used | brush | idle03_04 | high_fivee | sumotaunt01 |
confused | walk_turn_left | chair_idle01 | partnerslow01 | high_fiver | sumotaunt02 |
hey | beachlounge_enter | clip_hair | partnerslow02 | hugee | sumowalkb |
notlistening | enter_left | hairpick | chair_idle02 | huger | sumowalkf |
dance | lay_back_relax | idle01_01 | dance_hikoo | thumb_down | swimb01 |
flirt | sleep_left_side | lounge_idle01 | dance_2can | thumb_up | swimf01 |
kiss | sleep_right_side | lounge_idle02 | dance_lokoo | tickle | swim_floatbk |
rotfl | blend_cheer | mime | dance_thebot | guitarfunk_16a | swim_idle |
fall | blend_drink | nailpolish | break_6_step_downrock | guitarfunk_1e | swim_side |
rain | blend_drinkchug | salon_manicureist_paint | break_trick-windmill | guitarfunk_5a | teasitdown |
female_testmodel | bunny_hop | salon_manicurist_file | break_freeze | guitarfunk_7e | teasitidle01 |
forward_blend | chez_lounge_side | salon_pedicurist_file | angry_old | guitarleadrock10_a | teasitup |
forward_blend_long | dance_2stepx | shears | idle01__all | guitarleadrock11_a | vside |
forward_blend_longmid | snakecharm | walk01 | dance_littlefield | guitarleadrock14_a | wall_sit_enter |
forward_blend_short | murphys_sway | walk_b | dance1 | guitarleadrock16_b | wall_sit_exit |
fwalk_blend | caressofthesullen | waterplant | dance2 | guitarleadrock19_b | m_n_makeblank |
chug | egyptian | m_default | dance3 | guitarleadrock2_e | m_n_makebrandy |
sip | darkangel | kiss_a | dance_mj_bthrust1 | guitarleadrock3_e | m_n_makechmp |
chairidle01 | dance_leanwitit | kiss_b | dance_mj_bthrust2 | guitarleadrock4_e | m_n_makecoconut |
chairidle02 | dance_slipnslide | em_wave_blend2 | dance_mj_claws1 | guitarleadrock6_e | m_n_makegcylin |
idle01 | dance_vstepback | nicole_wave | dance_mj_claws2 | guitarleadrock7_e | m_n_makeheavy |
loungeidle01 | dance_walkwitit | pivot_blend | dance_mj_dstep | guitarleadrock_idle01 | m_n_makehighball |
loungeidle02 | dance_xhop | sitting_kiss_blend | dance_mj_headtilt | guitarlead_jump | m_n_makehurrican |
side | bow_thankyou | sitting_pivot_blend | dance_mj_headturn | guitarlead12_a | m_n_makemargrita |
walkb01 | come_here | uppr_yaw_blend | dance_mj_letithang | guitarlead15_b | m_n_makemartini |
walkf01 | hug-accept | andrinkbottle01 | dance_mj_ministep | guitarlead1_e | m_n_makeshot |
chair_idle1 | hugger | andrinkbottle02 | dance_mj_pelvisthrust | guitarlead8_a | m_n_makewine |
chair_idle2 | loser | andrinkmug02 | dance_mj_pivot | guitarlead9_a | dance_tamjam |
dance_mooncurl | shake_fist | andrinkmugwipe02 | dance_mj_rdypose | guitarlead_side | dance_the101 |
dance01_old | floor_sit_enter | anmm_givedrink | dance_mj_shrug | guitarlead_walkb01 | dance_theturtle |
dance_divadip | floor_sit_exit | anmm_giveloot | dance_mj_sidestep1 | guitarlead_walkf01 | dance_handzup |
dance02_old | floor_sit_idle | anms_givedrink | dance_mj_sidestep2 | guitarrock10_e | em_cheer |
dance_chippin | headlook_updown | anms_giveloot | dance_mj_spin | guitarrock11_e | em_chug |
dance_lingylicious | listeningstation_enter | anmt_givedrink | dance_mj_start | guitarrock12_a | em_shhh |
break_toprock | listeningstationexit | anmt_giveloot | dance_mj_thunderclap | guitarrock13_a | straw_drink |
danceb_01_blend | listeningstation_idl1 | anst_givedrink | dance_mj_thunderclap2 | guitarrock14_a | drink02 |
break_cc-6_step | look_at | anst_giveloot | dance_mj_zpose | guitarrock15_a | drink03 |
break_back_rollover | lounge_idle3 | ants_givedrink | dance_mj_zstep | guitarrock17_a | drinkbottlebeer |
break_hollowback | pcdwave | ants_giveloot | suprised | guitarrock18_a | m_y1_idle01_01 |
coolness | photo01 | drink_with_everything | testkiss1 | guitarrock1_e | m_y1_walkb01 |
drink-sip | photo02 | fnhead_lr | testkiss1v2max | guitarrock22_a | m_y1_walkf01 |
talk_to_the_hand | photo03 | head_turnlr | testkiss2 | guitarrock25_b | m_y2_idle01_01 |
shhhhhh | photo04 | head_turnlr2 | testkiss2v2 | guitarrock28_b | m_y2_walkb01 |
posture1_idle1 | photo05 | mhead_turnlr | testkiss3 | guitarrock29_b | m_y2_walkf01 |
posture1_idle2 | photo06 | mnarcadeidl | testkissstarter | guitarrock2_e | m_y3_walkb01 |
posture1_idle3 | pocketbike | mncutout01 | idle04_01 | guitarrock3_e | m_y3_walkf01 |
posture1_idle4 | gardenpool_sit_enter | mncutout02 | idle04_02 | guitarrock5_e | bowarrow |
posture2_idle1 | gardenpool_sit_exit | mnjbdnc01 | idle04_03 | guitarrock6_e | gunsling |
posture2_idle2 | gardenpool_sit_idle | mnjbdnc02 | idle04_04 | guitarrock7_e | nailfile |
posture2_idle3 | raillean_idle01 | mnjbdnc03 | idle_mtvlbbalcony | guitarrock8_e | piercegun |
posture2_idle4 | rail_enter | mnjbdnc04 | idle_mtvlbsitpooledge | guitarrock9_e | salon_manicureist_file |
posture_3_idle1 | rail_exit | mnjbdnc05 | idle_mtvlbstndpooledge | karaoke | scissorhand |
posture_3_idle2 | rail_idle01 | mnjbdnc06 | listen2 | mannequin_01 | switchcomb |
posture_3_idle3 | spa_hand_up | mnjbdnc07 | talk3 | mannequin_02 | barfiddle |
posture_3_idle4 | blow_dry | mnjbdnc08 | barlean_idle01 | mannequin_03 | baridle01 |
idle03_all | cut_hair | mnjbdnc10 | barlean_idle02 | photo07 | barleanidle1 |
barleanidle2 | |||||
bounceridle1 | |||||
bouncerstop | |||||
pillow__bbattack | |||||
pillow__idle | |||||
pillow__jabattack | |||||
pillow__jabdefend | |||||
pillow__jump | |||||
pillow__longstun | |||||
pillow__powerattack | |||||
pillow__powerdefend | |||||
pillow__shortstun | |||||
pillow__taunt01 | |||||
pillow__taunt02 | |||||
pillow__walkb | |||||
pillow__walkf | |||||
pillow__walkside | |||||
sumosku |
Preview Avatar Gestures
As of version 2.9 you can test avatar gestures in any multiuser space.
In the chat entry type any gesture preceded with a slash, e.g. "/dance"
Triggering Gestures in ChatMapper
Gestures can be used directly in the text of a dialogue node.
Basic
Hey[gesture=wave] I’m over here! |
Advanced
Hey friend[gesture=surprised actorId=2 duration=2000] don’t act so surprised. |
gesture – required, name of animation (see list above)
actorId – optional, if not supplied the gesture will play on the current talking avatar of the dialogue node.
duration – optional and defaults to 2000 milliseconds.
Triggering Gestures in Scenario
In the `onclick` field of an editable item add:
Basic
{"action":"playGesture","name":"yes" } |
Advanced
{"action":"playGesture","name":"no","actorId":"2","duration":"2000" } |
name – required, name of animation (see list above)
actorId – optional, if not supplied the gesture will play on the current talking avatar of the dialogue node.
duration – optional and defaults to 2000 milliseconds.
Looping Gestures
Depending on how you set it up – you can play an animation in a loop for you or for everyone:
LB.Actions.playGesture({name:"dance", duration:10000, propagate:true})
duration – is the time the animation will loop for
propagate – makes it multi-user (plays & loops for everyone)
Visible to only you
{"action":"playGesture","name":"dance","duration":"10000"} |
Visible in multiuser
{"action":"playGesture","name":"dance","duration":"10000","propagate":"true"} |
API
playGesture | name – name of animation (see list below) actorId(optional) – id of actor. Will use the currently talking avatar if not provided. duration(optional, milliseconds) – duration of gesture (default 2000 milliseconds) |
Avatar Moods and Poses (2.9+)
Moods
An avatar’s “Mood” is the default idle animation for the actual pose. It should reflect the emotional state of the avatar.
Available moods
- indie (default)
- blue
- hiphop
- waiting
- preppy
- angry
- happy
Changing an avatar’s mood
This will require accessing the avatar object in Scenario. For the player, that is as simple as using the player() shortcut:
player().switchMood("angry"); |
For other avatars, when having a reference to that avatar object, the call is the same:
var avatar = LB.avatarController.findAvatar({cmID:1}); // Using the ChatMapper actor ID. |
To do it in one line, one can switch mood on a Chatmapper actor using the cmID parameter:
LB.avatarController.findAvatar({cmID:1}).switchMood("angry"); |
Poses
Poses are the root posture of the avatar. All the other animations are masked (i.e. “layered”) on top so that the avatar will keep the pose. For example the pose ‘chair’ makes the legs of the avatar always stay in the same position (seated).
Available poses or postures
- stand (default)
- chair
- sleep_back (2.9+)
- zen_sit (2.9+)
- wall_sit (2.9+)
- wall_stand (2.9+)
- stool (2.9+)
- rail (2.9+)
- floor_sit (2.9+)
- photo01 (2.14+)
- photo02 (2.14+)
- photo03 (2.14+)
- photo04 (2.14+)
- photo05 (2.14+)
- photo06 (2.14+)
- photo07 (2.14+)
- photo08 (2.14+)
Switching an avatar’s pose
Accessing directly the player object with player(), switchPose can be called:
player().switchPose("floor_sit"); |
Or, as with moods:
var avatar = LB.avatarController.findAvatar({cmID:1}); // Using the ChatMapper actor ID. |
Which in one line becomes:
LB.avatarController.findAvatar({cmID:1}).switchPose("floor_sit"); |