NPC.UpdateEnemyMemory

From GMod Wiki

Revision as of 14:44, 13 September 2009 by UnrealomegaBot (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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