Difference between revisions of "Archive: Conditions"

From Gladiabots Wiki
Jump to: navigation, search
m
m
Line 11: Line 11:
 
NOTE:
 
NOTE:
 
* Tagging is seen as Idle
 
* Tagging is seen as Idle
* Catch Resource is seen as Moving to Resource + Idle <color=#AAAAAA><code>Need Clarification</code></color>
+
* Catch Resource is seen as Moving to Resource + Idle <code>Need Clarification</code>
* Secure Resource is seen as Moving to Base + Idle <color=#AAAAAA><code>Need Clarification</code></color>
+
* Secure Resource is seen as Moving to Base + Idle <code>Need Clarification</code>
 
* Aiming is seen as Attacking
 
* Aiming is seen as Attacking

Revision as of 16:16, 11 September 2017

Conditions are the oval-shaped Nodes. They do not take time to be executed. If they are evaluated as True, the evaluation of the current tree goes on. If they are evaluated as False, the current tree is terminated and the next tree (if any) is evaluated.

Conditions are in syntax Target(Filters)-Condition(Evaluation)

Target - The type of Gladiabots Entity (Ally, Enemy, AllyBase, EnemyBase, Resource) to be checked Filters - Criteria that the target has to meet Condition - Action that the Target is executing Evaluation - Checking the [Invert] check box makes the Condition evaluate True if the filtered Target is not executing the action mentioned in the Condition.

NOTE:

  • Tagging is seen as Idle
  • Catch Resource is seen as Moving to Resource + Idle Need Clarification
  • Secure Resource is seen as Moving to Base + Idle Need Clarification
  • Aiming is seen as Attacking