Raised This Month: $ Target: $400
 0% 

[TF2] What property determines what buildings a func_nobuild blocks?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
StrikerMan780
AlliedModders Donor
Join Date: Jul 2009
Location: Canada
Old 08-07-2014 , 18:39   Re: [TF2] What property determines what buildings a func_nobuild blocks?
Reply With Quote #1

Quote:
Originally Posted by arthurdead View Post
- m_bAllowSentry (Save|Key)(1 Bytes) - AllowSentry
- m_bAllowDispenser (Save|Key)(1 Bytes) - AllowDispenser
- m_bAllowTeleporters (Save|Key)(1 Bytes) - AllowTeleporters

prop_data

also you can DispacthKeyValue any time
Thanks! I guess my datamaps were out of date.

EDIT: Changing these seem to crash the server.

Quote:
Originally Posted by friagram View Post
https://developer.valvesoftware.com/wiki/Func_nobuild

Check the fgd for the keyvalues
Usually dispatching keys or changing netprops on brush entities will not take effect until they are deactivated and then activated.
How would I go about deactivating and re-activating them?

like this?
PHP Code:
AcceptEntityInput(ent"SetInactive");
DispatchKeyValue(ent"AllowTeleporters""1");
AcceptEntityInput(ent"SetActive"); 

Last edited by StrikerMan780; 08-07-2014 at 19:09.
StrikerMan780 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 20:57.


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