Reply To: Animation for human entity
Home / Forums / Modders Corner / Mafia Scene Modders / eXistenZ34’s Mods / Animation for human entity / Reply To: Animation for human entity
Animation in Empire Arms Hotel (arpatro.sds in city folder)
ply=game.game:GetActivePlayer()
DelayBuffer:Insert(function(l_1_0)
CommandBuffer:Insert(l_6_0,{
function(l_1_0)return ply:SetControlStyle(enums.ControlStyle.LOCKED)end,
function(l_1_0)return ply:SetPhysState(enums.PhysicsState.DYNAMIC)end,
function(l_1_0)ply:SetDir(Math:newVector(x,y,0)) return ply:SetPos(Math:newVector(x,y,z))end,
function(l_2_0)return ply:AnimPlay(“sc_pianist_a”, false)end,
function(l_3_0)return ply:AnimPlay(“sc_pianist_b”, false)end,
function(l_1_0)return ply:SetPhysState(enums.PhysicsState.ENABLE)end,
function(l_8_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end})
end,{l_1_0},500,1,false)
Animation in Falcon Bar (falcone_satna.sds in shops folder)
ply=game.game:GetActivePlayer()
DelayBuffer:Insert(function(l_1_0)
CommandBuffer:Insert(l_6_0,{
function(l_1_0)return ply:SetControlStyle(enums.ControlStyle.LOCKED)end,
function(l_1_0)return ply:SetPhysState(enums.PhysicsState.DYNAMIC)end,
function(l_1_0)ply:SetDir(Math:newVector(x,y,0)) return ply:SetPos(Math:newVector(x,y,z))end,
function(l_2_0)return ply:AnimPlay(“sc_piano_loop_a”, false)end,
function(l_3_0)return ply:AnimPlay(“sc_piano_loop_b”, false)end,
function(l_4_0)return ply:AnimPlay(“sc_piano_loop_c”, false)end,
function(l_1_0)return ply:SetPhysState(enums.PhysicsState.ENABLE)end,
function(l_8_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end})
end,{l_1_0},500,1,false)
