![]() |
targon_ground - need help ^_^ - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: targon_ground - need help ^_^ (/Thread-targon-ground-need-help) Pages: 1 2 |
targon_ground - need help ^_^ - Lazarus - 08-07-2012 09:35 AM Hi, first sry for my english. I m creating a new script of a BLINK DAGGER like [DotA or HoN item ![]() I have create the ON=@TARGON_GROUND like this: Code: ON=@TARGON_GROUND but I wan't anothers IF, like cant transport to anywere were you don't see [LIKE THE ORIGINAL TELEPORT SPELL] AND you can't transport to a another player. how can I add that IF's? Thank you! RE: targon_ground - need help ^_^ - WRWR - 08-07-2012 10:09 AM Code: IF (<SRC.TARG.UID>==<SRC.UID>) try this Code: ON=@TARGON_GROUND RE: targon_ground - need help ^_^ - darksun84 - 08-07-2012 10:24 AM doesn't cansee/canseelos work only on items and chars ![]() RE: targon_ground - need help ^_^ - Shaklaban - 08-07-2012 10:43 AM well if its works is this means canseelos automatically take arguments on targon_item and targon_ground? RE: targon_ground - need help ^_^ - Lazarus - 08-07-2012 11:05 AM Not works the canseloos ![]() ![]() RE: targon_ground - need help ^_^ - Shaklaban - 08-07-2012 11:20 AM well then it is only works on items and characters like darksun says so PHP Code: [function canseelospoint] you can use this function like if (<src.canseelospoint <targp>>) also i don't try but you can try canseelos function with coordinates <canseelos <src.targp>>, if so you don't need canseelospoint function. RE: targon_ground - need help ^_^ - WRWR - 08-07-2012 11:26 AM Code: ON=@TARGON_GROUND but it work with teleport on static items only...trying to make it work on map tiles also Hehe, Code: ON=@DCLICK work fine you can go to location within 7tiles and canseelos RE: targon_ground - need help ^_^ - Lazarus - 08-07-2012 12:04 PM (08-07-2012 11:26 AM)WRWR Wrote: 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 ![]() RE: targon_ground - need help ^_^ - Shaklaban - 08-07-2012 12:26 PM well you can use that function: Code: [function summon_ground_avaible] if <summon_ground_avaible <src.targp>> RE: targon_ground - need help ^_^ - Lazarus - 08-07-2012 01:59 PM (08-07-2012 12:26 PM)Shaklaban Wrote: well you can use that function: That works PERFECT thanks ![]() There is the function if anyone wants to use: [CALLED BY TARGETFG f_go] Code: [FUNCTION f_go] I'll add more t_ there ![]() EDIT: New problems: -Multi houses [the default houses of sphere] [you can tp in in the wall] -fences [iron fences] -items |