Terasology / LightAndShadow

Light & Shadow is an experimental game type set in a quirky Alice in Wonderland inspired setting
Apache License 2.0
8 stars 22 forks source link

feat: A basic implementation for an npc #201

Open ahv15 opened 3 years ago

ahv15 commented 3 years ago

Contains

Uses a system for identifying enemies (similar to MR) which can be used by npc's (maybe defence mechanisms and traps in the future) to identify and attack enemies.

How to test

Create a multiplayer game with players on both teams and then spawn a pawn near an enemy. Make sure to add the behavior and LaSTeam component to the pawn's prefab(will be sending a separate PR once this PR is finalized).

Outstanding before merging

ahv15 commented 3 years ago

Will be moving pawn.behavior to LaSResources once the PR has been finalized.