YanYatCheng 96 Posted February 27, 2017 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? Share this post Link to post Share on other sites
gc8 977 Posted February 27, 2017 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
YanYatCheng 96 Posted February 27, 2017 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
gc8 977 Posted February 27, 2017 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
YanYatCheng 96 Posted February 27, 2017 yes, what happened after that was that pic Share this post Link to post Share on other sites
gc8 977 Posted February 27, 2017 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
YanYatCheng 96 Posted February 27, 2017 there is, but what appears is that appears on that picture, no words Share this post Link to post Share on other sites
YanYatCheng 96 Posted February 27, 2017 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
gc8 977 Posted February 27, 2017 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