Cutscene viewer ped variations

This commit is contained in:
dexy 2019-11-26 13:14:46 +11:00
parent 96d34ec154
commit 17dcdd88a1

View File

@ -880,6 +880,23 @@ namespace CodeWalker.World
if (oe == null)
{ return; }
CutsceneObject cso = null;
SceneObjects.TryGetValue(oe.iObjectId, out cso);
if (cso?.Ped != null)
{
int comp = args.iComponent;
int drbl = args.iDrawable;
int texx = args.iTexture;
Task.Run(() =>
{
cso.Ped.SetComponentDrawable(comp, drbl, 0, texx, GameFileCache);
});
}
}
private void CameraCut(CutEvent e)
{