I'm making a game mode for Garry's Mod, and I've been mapping for years now. Unfortunately, this is a new issue.
I've been talking with an LUA scriptor, and he says for my capture points to work correctly for this game mode, I need:
"What about if the gamemode makes the entities "controlpanel" and "unlockbutton"? That makes it a lot easier to add the points, and stuff."
Right now, I have:
func_button Damage Activates - OutPut: capturepointred unlock time5.0 OutPut: capturepointred lock time7.0
func_button capturepointred Use Activates - OutPut: CaptureSirenRed PlaySound 0.1 OutPut: captureSirenRed StopSound 6.1
should I have him make the LUA recognize when capturepointred is activated, or have him create a new entity with the game mode, and somehow have hammer trigger it?
Having hammer trigger it sounds easier, but I'm not sure what to do. Should it be an output that trigger is, or a completely new entity? I'm confused.