Yoko
http://forum.yoko.com.ua/

i can't drag items via script.. what's going on??
http://forum.yoko.com.ua/viewtopic.php?f=3&t=923
Page 1 of 1

Author:  supermudo [ 2004-07-21 00:20:36 ]
Post subject:  i can't drag items via script.. what's going on??

Code:
sub checakeg()
if uo.injournal("O barril esta vazio") then
uo.exec("setcatchbag bau")
uo.exec("usetype keg")
uo.exec("grab 1 lastobject")
uo.exec("unsetcatchbag")
uo.deletejournal()
endif
endsub


this code was about to check if the keg is empty and then throw it in the container "bau"

but i get both messages "You cannot move that" "You cannot unequip that"
if i just drag the potion keg with the mouse it falls in "bau" but it doesn´t via grab command. Why is that? any solutions?

Author:  Yoko [ 2004-07-21 01:12:06 ]
Post subject: 

do not mix setcatchbag and setreceivingcontainer!

Author:  supermudo [ 2004-07-21 05:05:04 ]
Post subject: 

i didn,t get it...

what are the uses for setreceivingcontainer other than a target for emptycontainer???

how would this command fit in the situation?

thanx

Author:  Yoko [ 2004-07-21 16:44:53 ]
Post subject: 

it also set container for grab command

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/