OFP 1.96 + editorupdate102.pbo
Hi!
I've got some troubles with SetPos command. Let me try to describe the problem:
1) Create some object using CreateVehicle command.
2) Get coordinates of your object and put this object into the same coordinates.Code:TempObject = "AAR615" CreateVehicle [((getpos player select 0)+40), (getpos player select 1), (getpos player select 2)];
You'll see the object's shift (despite the fact that the object was placed in the same coordinates)!Code:ObjectX = getpos TempObject select 0; ObjectY = getpos TempObject select 1; ObjectZ = getpos TempObject select 2; TempObject setPos [ObjectX, ObjectY, ObjectZ];
This problem appears when you create an object with CreateVehicle command only. I don't need this shifting, plz help me.
---------- Post added at 16:43 ---------- Previous post was at 16:42 ----------
The mission example (use player's menu in the game to create and place the building): https://rapidshare.com/files/2804175564/SetPosTest.rar
HOME
Reply With Quote

