CreateItem
- Parameters
-
itemid integer
The rawcode of the item.
x real
The x-coordinate of the item.
y real
The y-coordinate of the item.
- comment
Creates an item object at the specified coordinates ( x , y ).
Example:
call CreateItem('war2', 256, 384) // Jass
myItem = CreateItem(FourCC("war2"), 256, 384) -- Lua
- patch
1.00
- Source
- common.j
- return type
item
- Source code
native CreateItem takes integer itemid, real x, real y returns item