Jass documentation Database
JASS Documentation Database REFORGED
Results for the query "CreateUnit" as a "function"
Function CreateUnit
Preview
Extra spaces may have been removed from the original file to show the function in a comfortable way.
Information about CreateUnit
creates a unit of type unitid for player id, facing a certain direction at the provided coordinates. Returns handle to unit Example: Create a human footman for first player (red) at map coordinates -30, 0, facing north: See: bj_UNIT_FACING constant for default facing direction of units in BJ scripts and GUI. Unit facing is in degrees (type: real). Describes unit rotation: - 0 = East
- 90 = North
- 180 = West
- 270 = South
- -90 = South (wraps around)
Page loaded in 0.0804 seconds.
|