montenegro11 Posted January 10, 2014 Author Share Posted January 10, 2014 COMMAND WORKS SCRIPT WORKS, IF THERE IS A WAY TO MOVE IT ON THE LEFT JUST A LITTLE BIT LIKE NOT A FULL NUMBER BUT LIKE A HALF OF THE NUMBER SO IT LOOKS REALISTIC EVEN THOU IT GOES THROUGH GROUND Link to comment
montenegro11 Posted January 10, 2014 Author Share Posted January 10, 2014 And yeah if you could explain what do the numbers 0, 0, 90 do? Link to comment
montenegro11 Posted January 10, 2014 Author Share Posted January 10, 2014 i really forgot to add that, don't judge me. Link to comment
Castillo Posted January 10, 2014 Share Posted January 10, 2014 So, everything's working correctly now? Link to comment
montenegro11 Posted January 10, 2014 Author Share Posted January 10, 2014 Almost, just one thingy, gotta redo the script, the gates are a little bit too much on right side, so gotta redo it, just to add the numbers on y Link to comment
Castillo Posted January 10, 2014 Share Posted January 10, 2014 Well, I think that you can handle that yourself, can't you? Link to comment
montenegro11 Posted January 10, 2014 Author Share Posted January 10, 2014 (edited) Yes, and thank you a fudgin lot dude i can't say enough words to thank you, I know the basics of scripting and as you can see, without you I COULDN'T DO BLOODY THING and thank you is there any thing with which I can thank you? Edit: gate = createObject ( 980, 2404.8999023438, -1658, 15, 0, 0, 90 ) function gateOpen ( ) moveObject ( gate, 2000, 2403, -1658, 7 ) end addCommandHandler ( "gso", gateOpen ) function gateClose ( ) moveObject ( gate, 2000, 2403, -1658, 15 ) end addCommandHandler ( "gsc", gateClose ) Fully working gates, thanks to you! Edited January 10, 2014 by Guest Link to comment
Castillo Posted January 10, 2014 Share Posted January 10, 2014 Good to hear! You're welcome. Link to comment
montenegro11 Posted January 10, 2014 Author Share Posted January 10, 2014 gate = createObject ( 980, 2404.8999023438, -1659, 15, 0, 0, 90 ) function gateOpen ( ) moveObject ( gate, 2000, 2404.8999023438, -1659, 7 ) end addCommandHandler ( "gso", gateOpen ) function gateClose ( ) moveObject ( gate, 2000, 2404.8999023438, -1659, 15 ) end addCommandHandler ( "gsc", gateClose ) Final version of gate. Works perfectly, I'm so happy, and I've surprised my friend, he's happy aswell, oh my god I'm so glad. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now