CreateItem
- Parameters
itemid integerThe rawcode of the item.
x realThe x-coordinate of the item.
y realThe y-coordinate of the item.
- comment
Creates an item object at the specified coordinates ( x , y ).
Example:
call CreateItem('war2', 256, 384) // JassmyItem = CreateItem(FourCC("war2"), 256, 384) -- Lua- patch
1.00
- Source
- common.j (raise an issue to discuss on Github or submit a PR)
- return type
item- Source code
native CreateItem takes integer itemid, real x, real y returns item