Actions

NPC Definition

From Shoot Em Up Kit

Revision as of 13:31, 24 May 2020 by Wikiadmin (talk | contribs) (Created page with "The NPC Definition is used to create a standard set of properties which apply to an NPC. These include speed, health, and how to react when destroyed. The NPC Definition li...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The NPC Definition is used to create a standard set of properties which apply to an NPC. These include speed, health, and how to react when destroyed.


The NPC Definition list is displayed when you select DefineNPC.png NPC Definition on the Define Menu in the Level Editor.


NPCDefMenu.png


Select a definition to edit it or select Create New to create a new one. You can also Copybtn.png Copy or Deletebtn.png Delete an existing definition.


Selecting a new or existing definition will open the NPC Definition window:


NPCDefinition.png Name Name of the definition
Health Initial health of the NPC
Time Invulnerable Time the NPC should be invulnerable for after respawn
Movement Style Move on Axis or Rotate
Collision Action The action to take on collision - Do Nothing or Stop
Kill Score How many points killing the NPC is worth
Remove from Scene Check box to remove the NPC from the scene when killed
Respawn when player killed Check box to respawn the NPC when the player is killed
Disable when leaving camera Check to disable the NPC when it moves off screen
Enable when on camera Check to enable the NPC when it moves into view