<ActivePursuitGoal name="x">
<PreConditions ... />
<SucessConditions>
<NewEvent occurred="True" ... />
</SucessConditions>
<FailureConditions ... /><ExpectedEffects ... />
</ActivePursuitGoal>
And the Precondition should not contain RecentEvent=false for the NewEvent in the SuccessConditions.
Goals that are shared by all in a culture can be specified using the same format as the ActivePursuitGoal except replacing the ActivePursuitGoal with CulturalGoal and have to be specified in the culture.xml file. These goals do not need to be listed in individual agent's xml file because it will be automatically added as goals for all agents.
No comments:
Post a Comment