Thread Rating:
- 0 Votes - 0 Average
- 1
- 2
- 3
- 4
- 5
Tylerman [Can't dclick]
|
Author |
Message |
Lazarus 
Master
 
Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1
Hybris Ultima Online
![]()
|
Tylerman [Can't dclick]
Hi! i have a problem with a script of tillerman
Im using the tiller of someone. Works fine if you are a GM and you get the dclick on the tillerman, but! if you are a player, you never get too close to click it [You don't reach that]..
Any ideas?
Code:
on=@dclick
if <region.uid> != <src.region.uid>
ref1=<link>
forcont <src.findlayer(layer_pack)>
if <type> == t_key
if <link> == <ref1>
local.key = <uid>
endif
endif
endfor
forobjs
if <region.uid> == <ref1>
if <isitem>
if <link> == <ref1> && <uid> != <ref1>
local.item ++
endif
else
local.char ++
endif
endif
endfor
if <src.flags>&statf_dead
src.sysmessage @,,2 502493 //Pareces muerto.
elif !<local.key>
src.sysmessage @,,2 502494 //Debes tener una llave para deedear el barco.
elif !<link.tag0.anchor>
src.sysmessage @,,2 1010570 //Deberias bajar el ancla para estacionar el bote.
elif <local.char>
src.sysmessage @,,2 502495 //No se puede acoplar el bote con seres a bordo!
elif <local.item>
src.sysmessage @,,2 502496 //No puedes acoplar el bote con la cubierta llena!.
elif <ref1.hatch.count>
src.sysmessage @,,2 502497 //Fijate que el cajon este vacio e intenta de nuevo!
else
f_ResendDialog d_DryDocking
endif
return 1
endif
Thanks!
Lazarus
|
|
09-10-2012 11:29 AM |
|
|
Extreme 
Grandmaster Poster
  
Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20
SphereCommunity

|
|
09-10-2012 12:12 PM |
|
|
User(s) browsing this thread: 1 Guest(s)