Raised This Month: $ Target: $400
 0% 

Remove func_walls


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 07-06-2010 , 07:50   Remove func_walls
Reply With Quote #1

Hey, I need someone to show me how to remove all the func_wall entities on the map. I'm gonna use this with MonsterMod, so I can remove all monsters in the map instantly (no I don't want to remove the config file). Thanks in advance!

Edit: In this case, if anyone knows the targetname for monsters, can you use it to delete only func_walls that equal to monsters? If not, there's no problem to remove all of them.

Last edited by Backstabnoob; 07-06-2010 at 07:57.
Backstabnoob is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 07-06-2010 , 07:59   Re: Remove func_walls
Reply With Quote #2

http://forums.alliedmods.net/showthread.php?t=130616
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 07-06-2010 , 08:21   Re: Remove func_walls
Reply With Quote #3

I forgot to say I want to remove them ingame, with a command or a function or something.
Backstabnoob is offline
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 07-06-2010 , 08:26   Re: Remove func_walls
Reply With Quote #4

PHP Code:
    new Entity 
    
while((Entity == find_ent_by_class(Entity,"func_wall")) ) { 
        
remove_entity(Entity
But I'd rather use fakemeta, because the plugin I'm gonna use it in is already in FM. Anyone to convert it?

Edit: Lol, sorry for bumping. Just forgot to edit the last post.
Backstabnoob is offline
Flipper_SPb
Senior Member
Join Date: Jun 2009
Location: Worldspawn
Old 07-06-2010 , 08:42   Re: Remove func_walls
Reply With Quote #5

Code:
new ent
while((ent = engfunc(EngFunc_FindEntityByString, ent, "classname", "func_wall")))
    engfunc(EngFunc_RemoveEntity, ent)
Flipper_SPb is offline
Send a message via ICQ to Flipper_SPb
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 07-06-2010 , 09:27   Re: Remove func_walls
Reply With Quote #6

Thanks.
Backstabnoob is offline
Reply


Thread Tools
Display Modes

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 07:05.


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