How to make a moving gate
#5

Quote:
Originally Posted by Logofero
Посмотреть сообщение
PHP код:
new obj_gates[2];
        
// Create gate
obj_gates[0] = CreateObject(16773397.47662476.632819.51560.00.00.0100.0);
obj_gates[1] = CreateObject(16775412.11722476.632819.51560.00.00.0100.0);
        
// Move gate
MoveObject(obj_gates[0], 397.47662476.632819.5156 10.01.0, -1000.0, -1000.0, -1000.0);
MoveObject(obj_gates[1], 412.11722476.632819.5156 10.01.0, -1000.0, -1000.0, -1000.0); 
Don't need to create 2 objects , one it's enough. You can make a bool to check if the gate it's closed/opened and if yes , move the gate ...
Reply


Messages In This Thread
How to make a moving gate - by ahameed4755 - 24.08.2015, 18:12
Re: How to make a moving gate - by toxicape - 24.08.2015, 18:14
Re: How to make a moving gate - by Logofero - 24.08.2015, 18:20
Re: How to make a moving gate - by ahameed4755 - 24.08.2015, 18:21
Re: How to make a moving gate - by Mariciuc223 - 24.08.2015, 20:51
Re: How to make a moving gate - by Logofero - 24.08.2015, 21:08

Forum Jump:


Users browsing this thread: 3 Guest(s)