I’m not sure how to explain this properly but is there a function that lets you to call output events to be used in maps?
I want to recreate how source map entities can trigger outputs (eg. trigger_once calls the “OnTrigger” output when touched) but as far as I can tell there isn’t a way to do this with lua entities.
Basically, I want to be able to do this:
[lua]self:FireOutput(“OnMapSpawn”) --This will trigger the output OnMapSpawn and can be used in hammer to trigger events[/lua]
Calling that function would trigger any inputs set up in hammer:
If a function like this doesn’t exist can someone post a request on Github properly explaining what I tried to explain?