Toggle search
Search
Toggle menu
Toggle personal menu
Editing
Behavioral Data
From Desynced Wiki
Read
Edit
Edit source
View history
Page
Discussion
More actions
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
[[Behavioral Primer]] === Data Types === There are six data types in Desynced * Item Type * Unit Type * Component Type * Technology Type * Informational Value Type * Coordinate Value Type There is no specific number type because all six data types also encode a number value however if that value is zero it will not display. === Numbers === Numbers are always encoded with one of the other data types even when passing a value that seems to be only numerical it is passing a null value along with the number. It is important to understand this when dealing with instructions that make decisions based on data type. === Parameters === The amount of parameters may be expanded of contracted at the top of the interface for every parameter at the top of the behavior UI you will have a corresponding register next to the {{IL|Behavior Controller}} out side the UI. You can set these outer registers and they will pass data into the program and data written to the parameter will pass data out to those registers === Variables === Variables also can expand and contract in amount accessible but the method of doing so is different from parameters. To assign a variable you have to click an output of an instruction and choose a variable if it is the first variable there will only be an 'A' variable once this is assigned you can now assign that 'A' variable to inputs and if you click on another output there will now be a 'B' variable able to be assigned along with the 'A' variable. Contraction of choices works in reverse if you removed all 'A' variables from your instructions you would no longer be able to access 'B' what variables are aces sable can be a bit strange if you remove non sequential variables but you will always be able to access any variable you have assigned and the next in order of any you have assigned. === Unit Registers === Parameters create registers outside of the behavior but there are also the four unit registers these tend to have certain data by default passed through them but it is possible to overwrite what gets passed into or out of them.
Summary:
Please note that all contributions to Desynced Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Desynced Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Template used on this page:
Template:IL
(
edit
)