Entertainment, Game Development.

Emerald AI

RPR utilized Emerald AI for certain NPCs in game.

 

Here are random stuff gathered that may be useful pertaining to Emerald AI.

 

On Death for the NPC Spawn/DeSpawn sample for Pool Boss

On death Respawner Timer

https://forum.unity.com/threads/released-emerald-ai-2-0-aaa-quality-ai-with-built-in-ui-ranged-combat-waypoints-and-more.336521/page-47#post-3689014

To be continued…

 

Currently I find out what animation is attacking by:

(PlayerHealth)

public void DamagePlayer (float damageTaken, int WhichAttack){
if (!isDead)
{
Debug.Log(“We are getting HIT! By attack# ” + WhichAttack + ” & this much damage: ” + damageTaken);

if(hit.collider.gameObject.GetComponent<Emerald_AI>() != null){

              hit.collider.gameObject.GetComponent<Emerald_AI>().Damage((int)damageAmt, Emerald_AI.TargetType.Player);
 
           }

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: