Artificial Intelligence Depot
Visiting guest. Why not sign in?
News, knowledge and discussion for the AI enthusiast.
FEATURES COMMUNITY KNOWLEDGE SEARCH  
Get Creative: AI Article Writing Contest
Fancy the chance of getting developer focus, improving your research skills, sharing your artificial intelligence ideas, obtaining expert feedback, getting published online AND winning a prize?
Enter the AI Article Writing Contest!

Reply to Message

Not registered yet?

The AI Depot has a focused community of friendly users. Rather than let anyone abuse the site at the brink of promiscuity, we prefer to let only those with an active interest participate... this simply requires registering.

Why not sign up!

Joining the site's community is completely free. You can then post messages freely, and customise your personal profile at will. Specific privileges will also be granted to you, like being able to access printer-friendly articles without restrictions. So, why not register?

Username:
Password:
Subject:
Email me when someone replies.
Body:

Parent Message

Bot movestate

In my opinion, you have to do this first :
-Alloc a move state with BotAllocMoveState
-Initialize this movestate with BotInitMoveState
Then you can use other functions. For example BotAddAvoidSpot add an area to avoid during the compiutation of your path (this is done for you by the main engine of Q3). You have to specify :
-the movestate you want to modify (cf the one you create)
-the center coordinates of the area you want to avoid
-the radius of this area
-the type of action you want to use on this area :
// avoid spot types
#define AVOID_CLEAR 0 //clear all avoid spots
#define AVOID_ALWAYS 1 //avoid always
#define AVOID_DONTBLOCK 2 //never totally block
If you have any information...

7 posts.
Tuesday 04 June, 04:30
Reply

Back to the Artificial Intelligence Depot.