Posts: 1,149
Threads: 71
Joined: Jan 2010
Reputation:
0
Well it is easy to move any object, but it is difficult to'm trying to do and I am able, I tried to use, and GetObjectRot SetObjectRot but nothing works, my goal is to make the barrier (which you have been in the picture below) next to the house open and close. It is not there by default, is a subject that I added (as it were a regular gate s), and as such wanted to move it, so as to move him getting to the top. If anyone can help me, I thank you.
[img width=1024 height=640]/imageshack/img714/2568/12724742.jpg[/img]
Posts: 1,149
Threads: 71
Joined: Jan 2010
Reputation:
0
Sorry but I do not get it in my GM so I teno
portaopolicia4 = CreateDynamicObject(968, -1701.4477539063, 687.59820556641, 24.71081161499, 0.000000, 270, 90); //object (barrierturn) (1)
and wanted so po
portaopolicia4 = CreateDynamicObject(968, -1701.4477539063, 687.59820556641, 24.71081161499, 0.000000, 0, 90); //object (barrierturn) (1)
but with the Moveobject not work, so I've tried with and with SetObjectrot GetOjectRot, but neither worked.
Why esou endindo help, we are very grateful if I could help.
Posts: 95
Threads: 6
Joined: Jan 2010
Reputation:
0
Make the opening command delete the barrier, and create a new one with the new rotation, and when you close the barrier again, it deletes the object, and creates a new, closed one.