Garry's Mod Wiki

Revision Difference

NPC:GetEnemyLastSeenPos#527861

<function name="GetEnemyLastSeenPos" parent="NPC" type="classfunc"> <description>Returns the last seen position of an NPC's enemy.</description> <realm>Server</realm> <added>2020.06.24</added>⤶ <args> <arg name="enemy" type="Entity" default="GetEnemy()">The enemy to check</arg>⤶ <arg name="enemy" type="Entity" default="GetEnemy()">The enemy to check.</arg>⤶ </args> <rets> <ret name="pos" type="Vector">The last seen position</ret>⤶ <ret name="pos" type="Vector">The last seen position.</ret>⤶ </rets> </function>