Toggle search
Search
Toggle menu
Toggle personal menu
Editing
Instructions/Get from Component
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!
{{Instruction_Top}} ==== Description ==== Get the value and number from a specified index of a component register. ==== Uses ==== Can typically be used to get the target of a Turret, Repair Component, Deconstructor or Miner. 0 and 1 are both treated as index 1. A component seldom has multiple registers, but for the few that exist, any number from 1 - n can be used to specify what index to read data from. [[File:ExampleComponentIndex.PNG]] In its most dynamic usage, it can be used to read directly from the parameters of another Behavior Controller, which can have a theoretically infinite amount of parameters. ==== Similar Instructions ==== [[Instructions/Set to Component|Set to Component]] {{Instruction_Bottom}}
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)
Templates used on this page:
Template:Infobox
(
edit
)
Template:InstructionStatistics
(
edit
)
Template:InstructionStatistics Layout
(
edit
)
Template:Instruction Bottom
(
edit
)
Template:Instruction Nav Entry
(
edit
)
Template:Instruction Top
(
edit
)
Template:InstructionsNav
(
edit
)
Template:Navbox
(
edit
)