Posted August 10, 201510 yr I managed loading vehicles from file snow and now i created a List of EntitySeats for the different seats. What i need now is spawning the seats WITH the entity, but when i do it in the constructor the entities make really glitchy things.
August 10, 201510 yr I set up a boolean that once the entity is first spawned its true, and after the first tick its then false that way you can ensure all the things are in place before doing the next operation Ex. boolean fresh = true; onUpdate(){ if(fresh){ //Do your things fresh =false; } Edit: Is this entity supposed to also have a refrence to the seat entity because if so then your gonna need to do some funky packet handling } "you seem to be THE best modder I've seen imo." ~spynathan ლ(́◉◞౪◟◉‵ლ
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.