Raised This Month: $ Target: $400
 0% 

Find proper origin to spawn.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Jacob
Senior Member
Join Date: Oct 2010
Old 12-31-2010 , 23:35   Find proper origin to spawn.
Reply With Quote #1

PHP Code:
new ent create_entity("info_target")
entity_set_origin(entorigin)
... 
my question is that if spawn 5 or more ents when round start,how to make sure the distance between two ents is more than 500,if distance<500,then make a loop to find another origin to spawn till find a proper one.
thanks in advance.
Jacob is offline
 



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 02:04.


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