CreateItem

Parameters
itemidinteger

The rawcode of the item.

xreal

The x-coordinate of the item.

yreal

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 (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