I'm new to 3D Gamestudio and was trying out the AI template scripts. I placed 2 NPCs with 1 being assigned the AIFPS01_Guard action and the other AIDumbBiped01. However, when I ran the level, the guard NPC doesn't attack the other one.
Code:
function AIFPS01_Wait01()
{
// WAIT state
ifdef aiFPS01_show_health;
draw_text("WAIT",300,300,vector(100,100,255));
endif;
// Scan for player
if(plSelect_curr_ent != 0) // we need a player to scan for!
This is part of the code. Is plSelect_curr_ent a predefined pointer? How can I get the pointer for the other NPC?