How to make a barrier opens like this
#1

Hi,

I have seen this kind of barrier on many servers. I want to make it open like this



I tried it with MoveObject, added the closed and opened barrier coords but it is not opening like i wanted. The opening style is sudden, without the motions i wanted. Any idea?
Reply
#2

MoveObject(objectid, Float:X, Float:Y, Float:Z, Float:Speed, Float:RotX = -1000.0, Float:RotY = -1000.0, Float:RotZ = -1000.0)
Try changing the Speed to something like 10 or 20
Reply
#3

If it's a rotation movement I think that with the 0.3x we still can't move it with speed.
It just moves without motions.
Reply
#4

so you want it on a rotate axis i suggest you go and get the rotate inc

here is a link https://sampforum.blast.hk/showthread.php?tid=75493
Reply
#5

Quote:
Originally Posted by JessThompson
Посмотреть сообщение
so you want it on a rotate axis i suggest you go and get the rotate inc

here is a link https://sampforum.blast.hk/showthread.php?tid=75493
That is completely obsolete. MoveObject works just fine.

The problem really is that in order for MoveObject to register correctly, the object should actually be moved. Move the barrier up by about 0.05 units when opening it. Move it 0.05 units down when closing it. A speed of 0.05 seems to be appropriate. Maybe a little faster.
Reply
#6

@Vince I tried this one time, It didnt work, the object was moving slowly but the rotation was moving immediatly


Maybe I did it wrong but are you sure that moving rotation slowly is possible ?
Reply
#7

Yeah, adding the speed to 0.05 worked just fine. Thanks for the hep.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)