- Joined
- Nov 17, 2010
- Messages
- 6,818
- Solutions
- 586
- Reaction score
- 5,387
I know how to check for tile positions..
But what position is the inventory slots?
Like.. check if item is in a players backpack, or if the item is being moved to the arrow/armor slot?
(Not a movements script. Creaturescript 'onThrow'.)
something like..
I'm fairly sure without trying that const_slot_head is a slotType rather then a position..
I'm a little lost.
If anyone has any idea's please throw them my way.
Cheers,
Xikini
But what position is the inventory slots?
Like.. check if item is in a players backpack, or if the item is being moved to the arrow/armor slot?
(Not a movements script. Creaturescript 'onThrow'.)
something like..
Code:
function onThrow(cid, item, fromPosition, toPosition)
if toPosition == const_slot_head then
return false
end
return true
end
I'm a little lost.
If anyone has any idea's please throw them my way.
Cheers,
Xikini
Last edited: