AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   [Help]L4D2: How to control the eye gaze direction of the survivor's model? (https://forums.alliedmods.net/showthread.php?t=340481)

Localia 11-21-2022 10:22

[Help]L4D2: How to control the eye gaze direction of the survivor's model?
 
I used "commentary_dummy" to generate a survivor's model, and successfully used "m_flPoseParameter" to control the head direction of the character model.
But i found that the character model always kept looking at the zero point of the map {0.0, 0.0, 0.0}. Is there anything that can change the coordinates or targets that the eyes focus on?:oops:


resolved↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
DispatchKeyValue(entity, "LookAtPlayers", "1");


All times are GMT -4. The time now is 23:10.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.