Data:Instruction:Unit Type: Difference between revisions

From Desynced Wiki
No edit summary
m (Pywikibot 10.3.1)
 
(9 intermediate revisions by 3 users not shown)
Line 4: Line 4:
{{DataInstruction
{{DataInstruction
|name = Unit Type
|name = Unit Type
|luaId = unit_type
|description = Divert program depending on unit type
|description = Divert program depending on unit type
|category = Flow
|category = Flow
|icon = Compare Values.png
|icon = Compare Values.png
|explaination = Continues execution of the behavior depending on the type of <hl>Unit</> passed
|argsType1 = Input
|argsType1 = Input
|argsName1 = Unit
|argsName1 = Unit
|argsDescription1 = The unit to check for (if not self)
|argsDescription1 = The unit to check
|argsDataType1 = entity
|argsDataType1 = entity
|argsType2 = Exec
|argsType2 = Exec
|argsName2 = Building
|argsName2 = Building
|argsDescription2 = Where to continue if the entity is a building
|argsDescription2 = Where to continue if the unit is a building
|argsDataType2 =  
|argsDataType2 =  
|argsType3 = Exec
|argsType3 = Exec
|argsName3 = Bot
|argsName3 = Bot
|argsDescription3 = Where to continue if the entity is a bot
|argsDescription3 = Where to continue if the unit is a bot
|argsDataType3 =  
|argsDataType3 =  
|argsType4 = Exec
|argsType4 = Exec
|argsName4 = Construction
|argsName4 = Construction
|argsDescription4 = Where to continue if the entity is a construction site
|argsDescription4 = Where to continue if the unit is a construction site
|argsDataType4 =  
|argsDataType4 =  
|argsType5 =  
|argsType5 =  
Line 27: Line 29:
|argsDescription5 =  
|argsDescription5 =  
|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=Unit Type
|name=Unit Type
}}</noinclude>
}}</noinclude>

Latest revision as of 07:13, 12 August 2025

Redirect to: