Jump to content

Walking an NPC


Recommended Posts

Posted

@@Cerez if you want to give a look to the code about that behavours, i see many things are setted into Q3_interface.CPP

it define the function of icarus commands.

these functions remind to other functions, deepest into the code. is much complicated. :\


Q3_interface.cpp

 

case SET_NAVGOAL:
        if ( Q3_SetNavGoal( entID, (char *) data ) )
        {
            Q3_TaskIDSet( ent, TID_MOVE_NAV, taskID );
            return;    //Don't call it back
        }
        break;

If you get Openjk code (i suppose of yes because you did the facial animations) Search the Q3_SetNavGoal and Q3_TaskIDset function, for

see how exactly they works. :)

Cerez likes this

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...