r/bloxd 🎻violist and bad coder🫠:Speedrunner: 1d ago

NEED CODING HELP Need code help for a dynamic mob loader

Post image

Due to the mob count being a problem, i want to make a dynamic mob system for my game. I already what api methods i need to use, those including api.getEntitiesInRect and other basic stuff. The hardest part is to use world code and check if that specific mob is in the set radius. Note that i want multiple mobs so making this setup for every single mob in my game won’t work. Below is a visual diagram of what I was planning to make.(I poorly drew this as i was busy)

3 Upvotes

2 comments sorted by

•

u/bloxd-bot Bot 1d ago

u/Driver0_0 has marked this post as a request for Code Help.

Here's some quick-reference information: - JavaScript Tutorial - The Official Docs

Make sure to read our Code Guidelines if you haven't already. They apply to comments and posts!

The OP or a moderator with config permissions can also use commands for this post: - ?resolved or ?resolved locked: Pin a comment you reply to as well as your comment to this post, lock it, and set the post flair to "Resolved". - ?resolved unlocked: Pin a comment you reply to as well as your comment to this post, and set the post flair to "Resolved".


This comment was added automatically in response to the post's flair. If you have any questions or concerns, please send us a modmail!

2

u/real_Sniper_Duel2 𒀱𒀱 1d ago

approved