Something weird with MoveObject and CreateObject
#1

Hey Guys,

today I wanted to finish my Easter Basin Plane Carrier FS where I added some Lifts and gates.

Now the problem is that such a Helipad which got the ID 3115 is given 3 times, but in the code which i entered it is only given 2 times

Quote:

CreateObject(3115, -1456.655029, 501.295166, 9.846650, 0, 0, 0); // object (1) // Ship Lift
CreateObject(3113, -1465.351929, 501.312012, 1.154032, 0, 0, 0); // object (2) // Ship Gate
CreateObject(3115, -1435.382324, 472.552582, 5.856870, 0, 0, 0); // object (6) // Car Lift
CreateObject(1238, -1446.103638, 481.723907, 6.505680, 0, 0, 0); // object (3)
CreateObject(1238, -1446.191772, 463.502502, 6.505680, 0, 0, 0); // object (4)
CreateObject(1238, -1446.119629, 481.180542, 6.505680, 0, 0, 0); // object (5)
CreateObject(1238, -1446.185791, 464.068848, 6.505680, 0, 0, 0); // object (6)
CreateObject(1231, -1446.090210, 481.165527, 3.067883, 0, 0, -91.9597262236); // object (9)
CreateObject(1231, -1446.202881, 463.852417, 2.992888, 0, 0, -91.9597262236); // object (10)
CreateObject(1290, -1443.052124, 471.571655, -0.081482, 0, 0, -89.3814161425); // object (11)
CreateObject(1290, -1428.764160, 470.345856, -0.144849, 0, 0, -89.3814161425); // object (12)
CreateObject(3114, -1400.432617, 482.680573, 5.550847, 0, 0, 0); // object (21) // Person Lift
CreateObject(1238, -1411.354492, 480.056366, 6.505680, 0, 0, 0); // object (24)
CreateObject(1238, -1389.561646, 480.018433, 6.505680, 0, 0, 0); // object (25)
CreateObject(1290, -1401.348633, 481.174530, 0.060921, 0, 0, -2.57831008103); // object (26)
But when I start the server and goto the ship then 3 of these Helipads show up + the object I used for the Person Lift which is just added 1 time

How can that be that its showed 2 times but its added just 1 time?
Reply
#2

If It's 3 times in the game, then It's 3 times in the code
Reply
#3

Quote:
Originally Posted by dice7
If It's 3 times in the game, then It's 3 times in the code
But it is just 2 times added in the code...

I may found the problem:

Those 2 Objects are already added ingame on a blank server.

But now I got the problem that my Carlift is moving to a not-given position
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)