jeudi 29 janvier 2015

[Include] Barrier movement effect

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 moving/rotating at the same time.



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



Example


pawn Code:




//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://ift.tt/1Btchg2



Download

http://ift.tt/1Btchg5




Aucun commentaire:

Enregistrer un commentaire