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


To be continued…


Currently I find out what animation is attacking by:


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: