Raised This Month: $ Target: $400
 0% 

Proper removal of Monster Mod monsters on round end in CS or CZ


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 10-01-2009 , 19:11   Proper removal of Monster Mod monsters on round end in CS or CZ
Reply With Quote #1

Just asking for advice on removal of Monster Mod monsters on round end in CS or CZ.


Here is what I'm thinking of using for removal:
Code:
    new monster = -1     while ( (monster = engfunc(EngFunc_FindEntityByString, monster, "classname", "func_wall")) != 0 ) {         if ( pev(monster, pev_flags) & FL_MONSTER ) {             engfunc(EngFunc_RemoveEntity, monster)         }     }


a. are all monsters func_wall?
b. do all monsters have FL_MONSTER flag? do other fun_wall's have this flag? I only want to remove Monster Mod monsters not other things.
c. anything wrong with just removing the monsters? like do i need to kill it by settings it's health to 0 instead, or set FL_KILLME flag or something?
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
 



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 22:43.


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