This is a great teamRPG map !
The only problem I found was the item pickup. If you don't match the requirements the item will be dropped at your feet, you can this way move the item to far distances.
I'm using this code to create an item at it's original position:
The only problem I found was the item pickup. If you don't match the requirements the item will be dropped at your feet, you can this way move the item to far distances.
I'm using this code to create an item at it's original position:
JASS:
function CreateItemAtOriginalSpot takes nothing returns nothing
local unit u = GetTriggerUnit()
local item i = GetManipulatedItem()
local integer GetItemTypeId(i)
local real x = GetItemX(i)
local real y = GetItemY(i)
//if REQUIREMENTS != false then
call UnitRemoveItem(u, i)
call RemoveItem(i)
call CreateItem(it, x,y)
//endif
set u = null
set i = null
endfunction