Raised This Month: $ Target: $400
 0% 

Scanning Spawn Locations (entities) ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mugwump
Senior Member
Join Date: May 2004
Old 06-30-2004 , 00:49   Scanning Spawn Locations (entities) ?
Reply With Quote #1

Is there a way to cycle through all of the info_start and info_deathmatch entities within CS using amxx? If so how might I go about this?

Thanks,
Mugwump
Mugwump is offline
Ryan
Senior Member
Join Date: May 2004
Location: NH, USA
Old 06-30-2004 , 04:00  
Reply With Quote #2

very simple =)

Code:
new iEntity = find_ent_by_class( -1, "info_start" ); while ( iEntity > 0 ) {     // ...     iEntity = find_ent_by_class( iEntity, "info_start" ); }
__________________
Warcraft 3: Expansion
Homepage | Downloads | Forums
Ryan is offline
Send a message via AIM to Ryan
Mugwump
Senior Member
Join Date: May 2004
Old 06-30-2004 , 11:28  
Reply With Quote #3

Excellent, thank you very much!

-Mugwump
Mugwump 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 14:37.


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