(Created page with "{{Infobox}} 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.<blockquote> File:Distance_Node.png") |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Instruction_Top}} | ||
Using the signal register as an input set to an entity in the world and storing the distance value as a variable. | 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. | 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}} |
Latest revision as of 09:42, 1 August 2025
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.
Instructions | |
---|---|
Unit | |
Move | |
Component | |
Flow | |
Math | |
Global |