Skip to content

Latest commit

 

History

History
30 lines (28 loc) · 759 Bytes

playEmote.md

File metadata and controls

30 lines (28 loc) · 759 Bytes

Play Emote

Play an emote or scenario

local scully_emotemenu = exports.scully_emotemenu
local variant = 2
local emoteData = {
    Animation = 'base',
    Dictionary = 'amb@world_human_leaning@male@wall@back@mobile@base',
    Options = {
        Flags = {
            Loop = true
        },
        Props = {
            {
                Bone = 28422,
                Name = 'prop_phone_ing',
                Placement = {
                    vector3(0.000000, 0.000000, 0.000000),
                    vector3(0.000000, 0.000000, 0.000000),
                },
                Variant = 0,
                Variations = {0, 1, 2, 3, 4, 5, 6, 7}
            }
        }
    }
}

scully_emotemenu:playEmote(emoteData, variant) -- Variant is optional.