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

Block A Door Permanently


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ynet
Member
Join Date: Aug 2017
Location: israel
Old 05-03-2020 , 13:56   Block A Door Permanently
Reply With Quote #1

is there a way to block a certain door from ever opening?

i know how to hook onto the object i am looking for only problem is i don't know how to disable it Permanently
Ynet is offline
Vieni
Member
Join Date: Apr 2018
Old 05-03-2020 , 14:29   Re: Block A Door Permanently
Reply With Quote #2

Quote:
Originally Posted by Ynet View Post
is there a way to block a certain door from ever opening?

i know how to hook onto the object i am looking for only problem is i don't know how to disable it Permanently
I don't know how the map objects work, but if you get an entity, you could easily set the movetype:
Code:
entity_set_int(ent, EV_INT_movetype, MOVETYPE_NONE)
or
Code:
pev(ent, pev_movetype, MOVETYPE_NONE)

Last edited by Vieni; 05-03-2020 at 14:29.
Vieni is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 05-04-2020 , 08:40   Re: Block A Door Permanently
Reply With Quote #3

I know a plugin, Transistor Radio, that BLOCKS DOORS PERMANENTLY when radio is 'planted' on one. Maybe you can analysis it, fix the plugin and extract the feature/bug for your endeavor here.
__________________
DJEarthQuake is offline
Ynet
Member
Join Date: Aug 2017
Location: israel
Old 05-04-2020 , 11:48   Re: Block A Door Permanently
Reply With Quote #4

i managed to block it so nvm ty
Ynet is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 05-04-2020 , 13:24   Re: Block A Door Permanently
Reply With Quote #5

Somebody else might want to know the code. Is it sharable?
__________________
DJEarthQuake 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:22.


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