Monday, 27 February 2017

Idea Generation for Computer Games - NPC implementation: NPC Activation.

This is one of the very simple features within the implementation process, the activation of the actual NPC itself via a trigger box within the level.
This basically consists of two elements, the trigger box itself, and a custom event named Activate NPC. A begin overlap event is assigned to the trigger volume, and is built so that only the playable character can trigger the overlap,  this then fires through to the initialise chain to activate the NPC, telling the engine that the NPC is alive and can begin moving and attacking when the trigger volume is breached.

Below is a screen grab of the custom event to which the overlap is eventually linked, showing that the NPC is classed as alive;


No comments:

Post a Comment