Items are removed from the game if they for instance drop from a dying boat.
Moving it on a deep water patch after being created on proper ground with the Move Item action just puts it on the nearest land.
Anyways, can't make the custom script work for some reason. It gives me JASS errors.
Moving it on a deep water patch after being created on proper ground with the Move Item action just puts it on the nearest land.
Anyways, can't make the custom script work for some reason. It gives me JASS errors.
-
Item - Create Crown of Kings +5 at (Center of FjordsRestrictionZone <gen>)
-
Set BloodElfBoatRepairKit = (Last created item)
-
Set SapphironRageAttackPoint = (Center of FjordsChillingBreezeRendezvous01 <gen>)
-
Custom script: call SetItemPosition( udg_BloodElfBoatRepairKit, udg_SapphironRageAttackPoint, udg_SapphironRageAttackPoint))
-
Custom script: call SetItemPosition( udg_BloodElfBoatRepairKit, GetLocationX(udg_SapphironRageAttackPoint))
-
Custom script: call SetItemPosition(i, x, y)
SetUnitX and SetUnitY seem to work for this.