TheHypnoo 0 Posted November 14, 2017 Hi, I'm creating a script about vehicle testing. Currently I do not know what mistakes there are, if someone could help me. The idea is to take a position, create the marker, and if you leave that marker then the vehicle is eliminated ... and you leave that position. The idea is that only he can see it. Quote --NOT COPY-- Share this post Link to post Share on other sites
pokertour 30 Posted November 14, 2017 hello ! do you have an error message ? 1 Share this post Link to post Share on other sites
Tajin 349 Posted November 14, 2017 hideObjectGlobal true; that is not going to work. Check the syntax: https://community.bistudio.com/wiki/hideObjectGlobal Instead of this: if (position player != _marker) then { you could use something like the following: // create your vehicle locally and whatever else you do there... waitUntil { sleep 1; !(player inArea _marker) }; // remove the vehicle again. Share this post Link to post Share on other sites
Grumpy Old Man 3546 Posted November 14, 2017 3 hours ago, TheHypnoo said: _posplayer = position player []; https://community.bistudio.com/wiki/position Cheers Share this post Link to post Share on other sites
TheHypnoo 0 Posted November 14, 2017 Ok thank you, everything you have told me I have solved. Now I wanted to know how to save a temporary position within the script. I mean I keep the player's position and then when the script ends I take it to the position where the script started. Thanks in advance! Share this post Link to post Share on other sites