WRWR
Journeyman
Posts: 212
Likes Given: 30
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 1
|
RE: targon_ground - need help ^_^
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
(This post was last modified: 08-07-2012 11:41 AM by WRWR.)
|
|
08-07-2012 11:26 AM |
|
|