NPC.UpdateEnemyMemory

From GMod Wiki

Jump to: navigation, search
Function
Syntax NPC:UpdateEnemyMemory( Entity enemy, Vector enemyPos )
Description:
Updates the position of an enemy to an NPCs AI
Returns: nil
In Object: Npc
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=NPC.UpdateEnemyMemory]NPC.UpdateEnemyMemory [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionThis will tell antlion where ply is.
Used onNewerServer.png
Code
antlion:UpdateEnemyMemory(ply,ply:GetPos())
OutputN/A


Additional Notes

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox