Lazarus 
Master
 
Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1
Hybris Ultima Online
![]()
|
RE: targon_ground - need help ^_^
(08-07-2012 11:26 AM)WRWR Wrote:
Code:
ON=@TARGON_GROUND
IF (<DISTANCE <SRC.TARGP>> > 5) || !(<SRC.CANSEELOS <SRC.TARGP>>)
SRC.SMSG You can't reach it.
RETURN 1
ELSE
SRC.GO <SRC.TARGP>
ENDIF
but it work with teleport on static items only...trying to make it work on map tiles also
Hehe,
Code:
ON=@DCLICK
TARGETFG f_go
RETURN 1
[FUNCTION f_go]
IF (<DISTANCE <SRC.TARGP>> > 7) || !(<SRC.CANSEELOS <SRC.TARGP>>)
SRC.SMSG you can't reach it.
RETURN 1
ELSE
SRC.GO <SRC.TARGP>
ENDIF
work fine
you can go to location within 7tiles and canseelos
That works fine but... you can tele in the walls and others stuff of the game.
Any check or something to fix that?
Rly thanks to all
|
|
08-07-2012 12:04 PM |
|
|