Raised This Month: $ Target: $400
 0% 

Solved Find a random spawn location around an origin?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Natsheh
Veteran Member
Join Date: Sep 2012
Old 02-14-2022 , 18:12   Re: Find a random spawn location around an origin?
Reply With Quote #4

Quote:
Originally Posted by EFFx View Post
Sorry EFFx but your function is not efficient and not precise it doesn't get things inside a circle.



solved


Quote:
Originally Posted by zXCaptainXz
I won't pretend like I even barely understood how this function works, but maybe you could try shuffling the array randomly before scanning?
The function scans using tracelines for an empty space depending on the given NPC or entity Maxsize and minsize.

It scans from the top right circle to the left bottom of it.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 02-15-2022 at 15:23.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode