Limited support
This feature is only present in Portal 2: Community Edition and Portal: Revolution. npc_create_aimed
🟩 Executable on Server
npc_create_aimed
Creates an NPC aimed away from the player of the given type where the player is looking (if the given NPC can actually stand at that location). Note that this only works for npc classes that are already in the world. You can not create an entity that doesn't have an instance in the level. Arguments: {npc_class_name}
Warning:
This is a cheat command and can only be used when sv_cheats
is set to 1
.