I have authored a new weapon that mimicks the “scan visor” mechanics from 
Metroid Prime; however, I would like to be able to center the player’s view on 
the entity that’s being scanned and disable mouse movement, so it stays 
centered as long as the player is scanning. I have tried using 
UTIL_PointAtEntity(pPlayer, pTarget) in my PrimaryAttack(), so that the player 
angles are updated every frame if he’s scanning, but that doesn’t seem to work.

Any suggestions on this one? Your help is greatly appreciated.




Best regards,

Krzysztof
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders

Reply via email to