Instructions/Unit Type

From Desynced Wiki


Unit Type
     File:Instructions-Unit Type.png
     Divert program depending on unit type
Lua ID unit_type
Category Flow
Icon Compare Values.png
Argument One: Type Input
Argument One: Name Unit
Argument One: Description The unit to check
Argument One: Data Type entity
Argument Two: Type Exec
Argument Two: Name Building
Argument Two: Description Where to continue if the unit is a building
Argument Three: Type Exec
Argument Three: Name Bot
Argument Three: Description Where to continue if the unit is a bot
Argument Four: Type Exec
Argument Four: Name Construction
Argument Four: Description Where to continue if the unit is a construction site



Description[edit | edit source]

Uses[edit | edit source]

Similar Instructions[edit | edit source]