Difference between revisions of "Sysvar"
From WikiManual
(→System variables you're likely to see in Robot DNA:) |
|||
(66 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
− | + | __NOTOC__ | |
− | |||
− | |||
− | |||
− | + | Sysvars (System Variables) are named memory address for variable integers. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | Every Bot has its own memory to store its situation and what actions it will do every cycle. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | * | + | *Most of them cause an action each cycle if they store a number that is not 0, like "commands". |
− | * | + | *Some store actual information each cycle, so they are basically "read only". Because even if you write in that address, many things will automatically overwrite this value each cycle. |
+ | *A Few of them cause no actions and only change by command, like [[Free Variables|free "variables"]]. | ||
− | + | ==System variables you're likely to see in [[Robot DNA]]:== | |
− | + | {| border="0" | |
− | + | {{Reproduction}} | |
− | + | {{Movement}} | |
+ | {{Chloroplasts}} | ||
+ | {{Population}} | ||
+ | {{Shooting}} | ||
+ | {{Shot}} | ||
+ | {{Position}} | ||
+ | {{eye}} | ||
+ | {{Gain and loss}} | ||
+ | {{Body}} | ||
+ | {{Virus}} | ||
+ | {{Defense}} | ||
+ | {{Memloc and Memval}} | ||
+ | {{in and out}} | ||
+ | {{Tie}} | ||
+ | {{Multibot}} | ||
+ | {{Sharing}} | ||
+ | {{Myvar}} | ||
+ | {{RefVar}} | ||
+ | {{TrefVar}} | ||
+ | |} | ||
− | + | ==Also see:== | |
− | + | *[[Operator]]s listing Algorithms. | |
− | + | *[[Racial memory]] gets copied through the birth tie. | |
− | |||
− | |||
− | |||
− | |||
− | *[[ | ||
− | |||
− | |||
− | |||
− | * | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [[ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 21:03, 11 October 2014
Sysvars (System Variables) are named memory address for variable integers.
Every Bot has its own memory to store its situation and what actions it will do every cycle.
- Most of them cause an action each cycle if they store a number that is not 0, like "commands".
- Some store actual information each cycle, so they are basically "read only". Because even if you write in that address, many things will automatically overwrite this value each cycle.
- A Few of them cause no actions and only change by command, like free "variables".
System variables you're likely to see in Robot DNA:
Also see:
- Operators listing Algorithms.
- Racial memory gets copied through the birth tie.