Npc scanner on path: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Fixed link.)
m (→‎top: Unicodifying, replaced: [[Image: → [[File:)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{wrongtitle|title=npc_scanner_on_path}}
{{DISPLAYTITLE:npc_scanner_on_path}}


[[Image:Prefab npc_scanner_on_path.jpg|thumb|250px|right|An npc_scanner_on_path prefab.]]
[[File:Prefab npc_scanner_on_path.jpg|thumb|250px|right|An npc_scanner_on_path prefab.]]


A [[prefab]] located in the ''Prefabs HL2'' folder, containing a setup for a scripted movement of a Combine scanner.
A [[prefab]] located in the ''Prefabs HL2'' folder, containing a setup for a scripted movement of a Combine scanner.
Line 9: Line 9:
* An [[npc_template_maker]] entity to spawn it.
* An [[npc_template_maker]] entity to spawn it.
* Three [[path_corner]] entities that will mark the path for the scanner to follow.
* Three [[path_corner]] entities that will mark the path for the scanner to follow.
* An [[aiscripted_schedule]] entity that will make the spawned metrocops move to the first path_corner.
* An [[aiscripted_schedule]] entity that will make the scanner move to the first path_corner when spawned.


The prefab is started by sending a ''Spawn'' signal to the npc_template_maker from an external source.
The prefab is started by sending a ''Spawn'' signal to the npc_template_maker from an external source.


[[Category:Prefabs]]
[[Category:Prefabs]]

Latest revision as of 00:15, 7 January 2024


An npc_scanner_on_path prefab.

A prefab located in the Prefabs HL2 folder, containing a setup for a scripted movement of a Combine scanner.

This prefab contains the following:

The prefab is started by sending a Spawn signal to the npc_template_maker from an external source.