Raised This Month: $51 Target: $400
 12% 

How to get nearest free space position for spawn?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 02-22-2019 , 11:31   How to get nearest free space position for spawn?
Reply With Quote #1

Hi,

I have a position and I need to teleport there an entity.
Is there simple way to find the nearest position for safe spawn, so entity's width / height can fit there without collision and without need to brute-force positions with TraceHull?

Thanks.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 02-22-2019 , 12:11   Re: How to get nearest free space position for spawn?
Reply With Quote #2

you didn't say which game

but for csgo
https://forums.alliedmods.net/showthread.php?p=2607220
https://forums.alliedmods.net/showthread.php?p=2607662
__________________
8guawong is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 02-22-2019 , 12:14   Re: How to get nearest free space position for spawn?
Reply With Quote #3

L4d1
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Reply



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 17:30.


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