unknooooown Posted June 16, 2011 Author Share Posted June 16, 2011 LOL! You are amazing Jacob! I love how you guys struggle to make my project work.. But hey, I am learning something here.. Have a feeling this topic will be a lot longer than it already is Link to comment
JR10 Posted June 16, 2011 Share Posted June 16, 2011 No problem. you should use table.insert to add the peds to a table And set a timer that will set the peds rotation to the player rotation shouldnt be hard. that's how to set the peds rotation to the players rotation. Link to comment
unknooooown Posted June 16, 2011 Author Share Posted June 16, 2011 You think it will be possible to make the tail move like so: When the player moves ofc.. .. Check out the Paint skillz.. http://imageshack.us/photo/my-images/600/etyju.png Edit.. Just forget about that.. That image can be misinterpreted in so many ways. Its hard to explain what I am thinking atm Link to comment
JR10 Posted June 16, 2011 Share Posted June 16, 2011 I understand but its hard as hell don't think that it can be done without being bugged but like you said before almost nothing is impossible in scripting. HEY! don't ask me in this one Link to comment
unknooooown Posted June 16, 2011 Author Share Posted June 16, 2011 Haha.. Dont worry I'm gonna be working more with the script for a few hours before I go to bed. I will post it here when I finish, if you guys still are keen on helping me Link to comment
unknooooown Posted June 17, 2011 Author Share Posted June 17, 2011 Hmm.. I was just thinking. To make the tail work as it should, I need to set each new ped to follow the ped created before it. But doesnt that just take us straight back to the table? I mean, at this point there is really no control of the tail, other than that its attached to the player. But it doesnt respond very well to the mouse yet. I have been thinking and drawing on a piece of paper how I would be able to make it, but I always end up at the table Hope you understand Link to comment
JR10 Posted June 17, 2011 Share Posted June 17, 2011 ok, 1. don't double post use the EDIT botton instead 2. ye i understand, it's really hard to do what you want but yes in order to control all the peds you need a table but... you dont need ped[number] = createPed you can do this local peds = {} table.insert(peds, lastPed) -- later if needed table.remove(peds, ped) so we don't get back to the messy stuff Link to comment
unknooooown Posted June 17, 2011 Author Share Posted June 17, 2011 Aahh. Okay. I see. Thats seems to be a lot easier than I thougth I will try it out asap 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