Arska134 Posted February 25, 2012 Posted February 25, 2012 I'am making multiplayer game and i need to sync all entities in scene over network. How can i get all entities, entity positions and rotations in Blitzmax? Quote Windows 7 Ultimate | Intel Core i7 930 @ 2.80 ghz | Nvidia GeForce GTX 560 | Leadwerks 2.5 | Blitzmax
Clackdor Posted February 25, 2012 Posted February 25, 2012 Is ForEachEntityDo() what you are looking for? http://www.leadwerks.com/werkspace/page/Documentation/le2/_/command-reference/entities/foreachentitydo-r163 Quote
Mumbles Posted February 25, 2012 Posted February 25, 2012 I thought that wasn't available in BlitzMaz. Reason being I didn't think callbacks were supported in BMax, and that command is by the way it works, a callback. Quote LE Version: 2.50 (Eventually)
Arska134 Posted February 25, 2012 Author Posted February 25, 2012 Thanks Clackdor that is what i was looking for. But now when i think about my project that kind of syncing is not an opinion, because server doesn't even use Leadwerks. I need to think better way to sync world models later. But thanks. Probably need that command later. Quote Windows 7 Ultimate | Intel Core i7 930 @ 2.80 ghz | Nvidia GeForce GTX 560 | Leadwerks 2.5 | Blitzmax
Recommended Posts
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.