Data:Instruction:Select Nearest: Difference between revisions

From Desynced Wiki
No edit summary
m (Pywikibot 10.3.1)
 
(8 intermediate revisions by 3 users not shown)
Line 4: Line 4:
{{DataInstruction
{{DataInstruction
|name = Select Nearest
|name = Select Nearest
|luaId = select_nearest
|description = Branches based on which unit is closer, optional branches for closer unit
|description = Branches based on which unit is closer, optional branches for closer unit
|category = Flow
|category = Flow
|icon = Main/skin/Icons/Special/Commands/Closest Enemy.png
|icon = Closest Enemy.png
|explaination = Passing two <hl>Units</> will continue execution based on which one is closer to the unit running the behavior. An option parameter can also be used to get which unit is closer
|argsType1 = Exec
|argsType1 = Exec
|argsName1 = A
|argsName1 = A
Line 27: Line 29:
|argsDescription5 = Closest unit
|argsDescription5 = Closest unit
|argsDataType5 =  
|argsDataType5 =  
|argsType6 =
|argsName6 =
|argsDescription6 =
|argsDataType6 =
|argsType7 =
|argsName7 =
|argsDescription7 =
|argsDataType7 =
|argsType8 =
|argsName8 =
|argsDescription8 =
|argsDataType8 =
|argsType9 =
|argsName9 =
|argsDescription9 =
|argsDataType9 =
|argsType10 =
|argsName10 =
|argsDescription10 =
|argsDataType10 =
|argsType11 =
|argsName11 =
|argsDescription11 =
|argsDataType11 =
}}{{DataTableIndex
}}{{DataTableIndex
|storedTable=instruction
|storedTable=instruction
|name=Select Nearest
|name=Select Nearest
}}</noinclude>
}}</noinclude>

Latest revision as of 07:12, 12 August 2025

Redirect to: