Difference between revisions of "Conditions and actions"

From Gladiabots Wiki
Jump to: navigation, search
Line 1: Line 1:
 
{{Information|This page needs improvement, you are welcome to contribute.}}
 
{{Information|This page needs improvement, you are welcome to contribute.}}
  
<!--
+
== Basics ==
 +
 
 +
[[File:Actions vs conditions.png|thumb|A target can be shared between action and condition nodes.]]
  
 
{{Warning|The rest of the page is a work in progress.}}
 
{{Warning|The rest of the page is a work in progress.}}
  
=== Conditions and actions ===
+
=== Thoughts to include into this page ===
  
 
Conditions are in syntax
 
Conditions are in syntax
Line 15: Line 17:
 
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.
 
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.
  
[https://forum.gladiabots.com/viewtopic.php?f=22&t=126#p1083 Filters and Conditions]
+
* [https://forum.gladiabots.com/viewtopic.php?f=22&t=126#p1083 Filters and Conditions]
[https://forum.gladiabots.com/viewtopic.php?f=22&t=126&p=1087#p1087 explanation of conditions and, similarly, actions]
+
* [https://forum.gladiabots.com/viewtopic.php?f=22&t=126&p=1087#p1087 explanation of conditions and, similarly, actions]
[https://forum.gladiabots.com/viewtopic.php?f=3&t=562&p=6427#p6422 action filters]
+
* [https://forum.gladiabots.com/viewtopic.php?f=3&t=562&p=6427#p6422 action filters]
[https://forum.gladiabots.com/viewtopic.php?f=8&t=743 any and all]
+
* [https://forum.gladiabots.com/viewtopic.php?f=8&t=743 any and all]
[https://forum.gladiabots.com/viewtopic.php?f=3&t=150&p=1469#p1465 how robots are chosen when more than one robot respect the filters and the conditions in an action or a condition]
+
* [https://forum.gladiabots.com/viewtopic.php?f=3&t=150&p=1469#p1465 how robots are chosen when more than one robot respect the filters and the conditions in an action or a condition]
[https://forum.gladiabots.com/viewtopic.php?f=6&t=236&p=2468#p2465 filter options within a category are in "or" between them, not "and"]
+
* [https://forum.gladiabots.com/viewtopic.php?f=6&t=236&p=2468#p2465 filter options within a category are in "or" between them, not "and"]
[https://forum.gladiabots.com/viewtopic.php?f=8&t=582 more info about filters introduced in alpha 7 and the OR /AND part]
+
* [https://forum.gladiabots.com/viewtopic.php?f=8&t=582 more info about filters introduced in alpha 7 and the OR /AND part]
[https://forum.gladiabots.com/viewtopic.php?f=8&t=815 more info about OR/AND between filter categories]
+
* [https://forum.gladiabots.com/viewtopic.php?f=8&t=815 more info about OR/AND between filter categories]
 
+
<!--
 +
Both action and condition nodes
 
-->
 
-->

Revision as of 08:01, 26 October 2017

Information.png This page needs improvement, you are welcome to contribute.

Basics

A target can be shared between action and condition nodes.
Warning.png The rest of the page is a work in progress.

Thoughts to include into this page

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.