SolvedHelp with script. -Positioning

Posts 1–4 of 4 · Page 1 of 1
Help with script. -Positioning
Hi, I was wondering how I can spawn a vehicle at a certain position on the map...
So For example: Once I execute the script it spawns a QuadBike in a certain position in Kavala. All this without using the map to pinpoint. Just executing it and thats it.
Thanks
Quote Originally Posted by NeonSabre123 View Post
Hi, I was wondering how I can spawn a vehicle at a certain position on the map...
So For example: Once I execute the script it spawns a QuadBike in a certain position in Kavala. All this without using the map to pinpoint. Just executing it and thats it.
Thanks
when you are using the map to pinpoint it you use

Code:
_vehicle setPos _pos; //_pos being the variable defined from onMapSingleClick
just use the same idea outside of onMapSingleClick
Code:
_pos = [X,Y,0];
_vehicle setPos _pos;
Quote Originally Posted by NeonSabre123 View Post
ohhh ok thank you
Believe this is solved.
/Closed
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us