Jump to content

Recommended Posts

I've been trying to make a mission. and when player pick up that photo, there will be a hint pop up on the top right corner.

but don't know why, all the example scrips won't work for me.

 

can anyone help with this?

ECB0E756A88BC66CE1E70169B23BD224B29EA35A

 

Share this post


Link to post
Share on other sites

Hi

so what you got so far, what scripts you tried?

 

there's -showScriptErrors option in the launcher which is good to turn on when scripting if you haven't already.

 

Share this post


Link to post
Share on other sites

this addAction ["pick up paper", {hint format ["please send help!", _this select 3]}];

this addAction["Pick up map", {deleteVehicle (_this select 0); player linkItem "ItemMap"; hint "I now have a map!"}];

Share this post


Link to post
Share on other sites
10 minutes ago, YanYatCheng said:

this addAction ["pick up paper", {hint format ["please send help!", _this select 3]}];


this addAction["Pick up map", {deleteVehicle (_this select 0); player linkItem "ItemMap"; hint "I now have a map!"}];

 

I see nothing wrong with the second line. did you put it inside of the map object's init field?

Share this post


Link to post
Share on other sites

so when you approach the object and aim at it, there's no "pick up map" action?

Share this post


Link to post
Share on other sites

i can get the pick up done, but i can't get the "trigger hint" done (pop up sentence box from top right)

Share this post


Link to post
Share on other sites
36 minutes ago, YanYatCheng said:

i can get the pick up done, but i can't get the "trigger hint" done (pop up sentence box from top right)

 

works for me I can see the hint message, just tested.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×