Pure
Returns an internal ID for the unit order string.
Example (Lua):
OrderId("humanbuild") == 851995 -- this order opens the human build menu Copy
OrderId("humanbuild") == 851995 -- this order opens the human build menu
See: OrderId2String
OrderId2String
Do not use this in a global initialisation (map init) as it returns 0 there.
Orders: humainbuild / orcbuild / nightelfbuild / undeadbuild are totally broken, don't issue them.
humainbuild
orcbuild
nightelfbuild
undeadbuild
Generated using TypeDoc
Returns an internal ID for the unit order string.
Example (Lua):