Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: razorjack on March 26, 2010, 03:17:20 pm

Title: AI Goal question
Post by: razorjack on March 26, 2010, 03:17:20 pm
Hello,

Does anyone knows what means if ai_info::active_goal is set to AI_ACTIVE_GOAL_DYNAMIC?
It is often used, when a AI mode needs to get interrupted by instant actions. For example if someone isw shooting at the AI controlled ship and it needs to evade. But the goal ID wont get switched back again after interruption if I'm right? I'm now confused a little bit.
Title: Re: AI Goal question
Post by: The E on March 26, 2010, 03:18:47 pm
This should properly be placed in the SCP board.
Title: Re: AI Goal question
Post by: razorjack on March 27, 2010, 05:26:05 pm
Does nobody know an answer?
Title: Re: AI Goal question
Post by: The E on March 27, 2010, 05:30:23 pm
What exactly is the question? I would assume that it gets switched back to whatever it needs to be sooner or later; I suggest tracing the engine to find out when this would happen.

Question is, what's the background of your question, in other words, why are you asking?
Title: Re: AI Goal question
Post by: razorjack on March 28, 2010, 06:55:44 am
My question was? What the state AI_ACTIVE_GOAL_DYNAMIC means.