mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-22 15:02:54 +08:00
Cutscene viewer ped variations
This commit is contained in:
parent
96d34ec154
commit
17dcdd88a1
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user