Mefarious 2 Posted November 4, 2022 Share Posted November 4, 2022 Hello i want to know if its there any possible way to make Hidden Arrow? I mean when i use target.pos("__TARGET1__", 209, 711, 41, "point") there will be arrow above the ground and it will trigger event when i stand on it. But is there any possible way to mark Position without this arrow above ground? to let someone search on their own for this position? and when they stand on it it wil trigger event and delete this mark. Link to comment Share on other sites More sharing options...
KlAsSHs 3 Posted November 4, 2022 Share Posted November 4, 2022 pc.get_x , pc.get_y Link to comment Share on other sites More sharing options...
Mefarious 2 Posted November 4, 2022 Author Share Posted November 4, 2022 (edited) Could you do an example because something like this doesnt work if pc.get_x() == 350 and pc.get_y() == 482 then say_title("smth") pc.give_item2(50050) end It have to be contained in "when" but none i know is working Edited November 4, 2022 by Mefarious Link to comment Share on other sites More sharing options...
KlAsSHs 3 Posted November 4, 2022 Share Posted November 4, 2022 4 hours ago, Mefarious said: Could you do an example because something like this doesnt work if pc.get_x() == 350 and pc.get_y() == 482 then say_title("smth") pc.give_item2(50050) end It have to be contained in "when" but none i know is working should you have any thing to do , example : when xxx.use begin if pc.get_x () lablablablab or should you edit input_main.cpp func move to check for player position Link to comment Share on other sites More sharing options...
Solution caanmasu 314 Posted November 4, 2022 Solution Share Posted November 4, 2022 (edited) Hi friend ^^ No problem, I have the solution Just you should add a 6° parameter, so: target.pos("__TARGET__", local_x, local_y, pc.get_map_index(), "Your desc", 0) This 6° parameter means send_to_client, for default is 1. Put 0 ir order to desactivate. send_to_client = 0 -> arrow no appears Edited November 4, 2022 by caanmasu Link to comment Share on other sites More sharing options...
Mefarious 2 Posted November 5, 2022 Author Share Posted November 5, 2022 16 hours ago, caanmasu said: Hi friend ^^ No problem, I have the solution Just you should add a 6° parameter, so: target.pos("__TARGET__", local_x, local_y, pc.get_map_index(), "Your desc", 0) This 6° parameter means send_to_client, for default is 1. Put 0 ir order to desactivate. send_to_client = 0 -> arrow no appears Thank you very much for your help, it works like a dream Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now