[Include] Barrier movement effect
#1

What's this?
By using this include, you allow players to see how a barrier is going to rotate rx,ry,rz.

It can handle more than two barriers that move/rotate at the same time.

Warning! Be careful when you set RX, RY, RZ!

Example
pawn Код:
//Create barrier
barrier = CreateObject(968,2102.7000000,-2059.6001000,13.3000000,0.0000000,270.0000000,46.0000000); //object(barrier) (1)

//Move barrier to vertical position.
MoveBarrier(barrier, 2102.7000000,-2059.6001000,13.3000000, 0.2, 0.0000000,360.0000000,46.0000000);

//Back to normal. Orizontal position.
MoveBarrier(barrier, 2102.7000000,-2059.6001000,13.3000000, 0.2, 0.0000000,270.0000000,46.0000000);
Video
http://*********/_T-hlLpTa94

Download
http://pastebin.com/WUBNeMd7
Reply


Messages In This Thread
Barrier movement effect - by Mihaitza97 - 29.01.2015, 09:55
Re: Barrier movement effect - by Max_Andolini - 29.01.2015, 11:36
Re: Barrier movement effect - by TheWitcher - 29.01.2015, 11:43
Re: Barrier movement effect - by JonathanW - 29.01.2015, 14:38
Re: Barrier movement effect - by Lunoxel - 20.08.2015, 01:24

Forum Jump:


Users browsing this thread: 2 Guest(s)