Jump to content

Hidden quest help


Go to solution Solved by caanmasu,

Recommended Posts

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

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 by Mefarious
Link to comment
Share on other sites

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

  • Active Member
  • Solution

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 by caanmasu
Link to comment
Share on other sites

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.