Difference between revisions of "Archive: Conditions"

From Gladiabots Wiki
Jump to: navigation, search
m
(Replaced content with "Moved to bot programming.")
Line 1: Line 1:
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.
+
Moved to [[bot programming]].
 
+
Conditions are in syntax
+
<code>Target(Filters)-Condition(Evaluation)</code>
+
 
+
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 <i>not</i> executing the action mentioned in the Condition.
+
 
+
NOTE:
+
* Tagging is seen as Idle
+
* Catch Resource is seen as Moving to Resource + Idle <code>Need Clarification</code>
+
* Secure Resource is seen as Moving to Base + Idle <code>Need Clarification</code>
+
* Aiming is seen as Attacking
+

Revision as of 14:14, 3 October 2017

Moved to bot programming.