Garry's Mod Wiki

NPC:SetViewOffset

  NPC:SetViewOffset( Vector )

Description

Sets the view offset of the NPC. Player alternative of Player:SetViewOffset.

This affects NPC's NPC:GetShootPos.

Arguments

1 Vector
The view offset to set.