Garry's Mod

Garry's Mod

Doors
Noz 2017 年 1 月 3 日 下午 7:22
Unable to set it to inactive
I am currently creating a map using this addon and when I attempt to set it inactive as the default state, it is still active upon testing. Also, how would I go about changing the active state via brush triggers?
< >
目前顯示第 1-5 則留言,共 5
Divided  [開發人員] 2017 年 1 月 5 日 下午 12:34 
You're trying to include it in a map using hammer? I don't think there's a way to disable them yet - you could try using the wp-shouldrender hook in Lua?
Noz 2017 年 1 月 5 日 下午 1:02 
引用自 Dr. Matte
You're trying to include it in a map using hammer? I don't think there's a way to disable them yet - you could try using the wp-shouldrender hook in Lua?
I simulated it being inactive by having both ents saved to a template and then killed on the map start. They are then forcespawned in to activate them.
Divided  [開發人員] 2017 年 1 月 5 日 下午 1:14 
Yeah, that works too - do you think we should add a proper way to disable/enable them or are you ok with your workaround?
Noz 2017 年 1 月 5 日 下午 1:52 
I'm fine doing it either way
Divided  [開發人員] 2017 年 1 月 5 日 下午 5:02 
Alright well if you're good for now I'll leave it but let me know if you run into issues
< >
目前顯示第 1-5 則留言,共 5
每頁顯示: 1530 50