SaintImmor
(SaintImmor)
January 13, 2025, 1:54am
#102
I copy pasted the zone module from the test place you linked. Maybe thats the issue?
athar_adv
(athar_adventure)
January 13, 2025, 1:55am
#103
I can replicate the issue, let me debug it
SaintImmor
(SaintImmor)
January 13, 2025, 1:55am
#104
okay, thank you for taking the time!
athar_adv
(athar_adventure)
January 13, 2025, 1:59am
#105
Found the issue:
If the zone was empty, it wouldnât detect any parts that have exited. Removing this guard clause should fix the issue
athar_adv
(athar_adventure)
January 13, 2025, 2:00am
#106
The new version has been pushed to the PackageLink, thank you for reporting the bug!
SaintImmor
(SaintImmor)
January 13, 2025, 2:08am
#107
Still not working. I have the zone touching a goal and a baseplate. Maybe thats the issue?
athar_adv
(athar_adventure)
January 13, 2025, 2:11am
#108
I unfortunately canât find your script and setup in the place you sent:
athar_adv
(athar_adventure)
January 13, 2025, 2:11am
#109
That shouldnât be an issue though, hmmâŚ
SaintImmor
(SaintImmor)
January 13, 2025, 2:12am
#110
Ah sorry my bad. Accidentally sent the wrong oneâŚ
BallZonePlace.rbxl (143.9 KB)
SaintImmor
(SaintImmor)
January 13, 2025, 2:12am
#111
Just a suggestion. I dont know the specifics of how any zone modules work I just trust that they do lol.
athar_adv
(athar_adventure)
January 13, 2025, 2:15am
#112
Ok, so the issue was that you were listening to Part with :ListenTo() instead of BasePart, when your ball is a MeshPart.
SaintImmor
(SaintImmor)
January 13, 2025, 2:21am
#114
AHHHH okay. Im so stupid for that sorry
1 Like
alright, gonna stick with zoneplus for now, need the random point the most
1 Like
Hi, what do you mean by a random point ? Being able to in any zone determine a random point in that zone and spawn to it?
in zoneplus you can call a function on any zone, and itll return a vector3 of a random point in that zone, can use that to do, anything, in my case i want to randomly spawn fireflies in set regions near the player
athar_adv
(athar_adventure)
January 17, 2025, 12:28pm
#118
Hello, I have implemented this feature into my new module LessSimpleZone.
LessSimpleZone is a SimpleZone wrapper that provides extra features such as getting random points, checking if a point is inside the zone, updating volume, and combining zones, alongside the features of SimpleZone itself (as LessSimpleZone inherits from it), at the cost of more complexity in the code.
Documentation (not including SimpleZone):
Constructor LessSimpleZone.fromBoxes(boxes: {{cframe: CFrame, size: Vector3}}, queryOp: QueryOptions?): LessSimpleZone
This constructor is very similaâŚ
Enjoy
The module doesnât seem to destroy the zones every time I call it in a scriptâŚ
athar_adv
(athar_adventure)
January 18, 2025, 10:41am
#120
OOps, just remove the __metatables and itâll work Ill be releasing a package version without them rq
athar_adv
(athar_adventure)
January 18, 2025, 10:43am
#121
New package version without protected metatables published, might take a while to update