Toggle search
Search
Toggle menu
Toggle personal menu
Editing
Instructions/Distance
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}} Using the signal register as an input set to an entity in the world and storing the distance value as a variable. The "Distance" component takes a location based input (unit world location) and stores the distance from the that input to the unit your script is being run on in the result. This can be used identify how far one unit is away from another. {{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
)