Jump to content

The Gate or how to move it when


Recommended Posts

superninja

Ok i need to make 'gate that have brain' and will move when the player approach it.

We have:

 

 

029B: $gate = init_object -33 (ELECTRICGATE) at -1321.252 -110.39 10.230177: set_object $gate z_angle_to  90.0

 

 

and i have when player approach (How the script look likes??)

 

 

029B: $gate = init_object -33 (ELECTRICGATE) at -1321.252 -104.39 10.230177: set_object $gate z_angle_to  90.0

 

 

i saw this code in marina_carpark_garage mod for vice city.But i there are two gates and this makes the code very hard to understand.I also saw the thing

 

034E: unknown_move_object $gate to bla bla bla unknown_angle 0.1 0.327 0.0 0

 

Please if you have time explain to me(do not say that guy knows how ask him in pm or you can use bla bla because i don't know the thread function i only know that we use jf if the thing is false)

 

Link to comment
https://gtaforums.com/topic/280611-the-gate-or-how-to-move-it-when/
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.