mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-26 00:43:00 +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)
|
if (oe == null)
|
||||||
{ return; }
|
{ 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)
|
private void CameraCut(CutEvent e)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user