logic_relay disappears from map as if killed?

Werewolf

Probably not a real Werewolf
aa
Apr 12, 2011
873
309
I have a rather odd bug that I can't figure out. I'm using a logic_relay for a scripted event, and the event is meant to be repeatable.

The bug is that after the first use, the entity just disappears, as if killed. I have of course checked the inputs going to it and the only input it receives is the 'Trigger' input. It is not receiving any 'Enable', 'Disable' or 'Kill' inputs

If I try to trigger the logic_relay again via the 'ent_fire' command, it does not appear in the drop-down. I can see other related entities, such as those that would normally be triggered by the relay, but not the relay itself.

I've double checked that the relay isn't accidentally being killed by a wildcarded command, and even renamed the logic_relay to something totally unique (so it doesn't bear any similarity to any other named entities)

No matter what I try, once I've used this logic_relay once, it can't be used again even though it is meant to be reusable.

Does anyone have any ideas why this is or what else I could try to fix it?
 
Mar 23, 2013
1,013
347
You could try using ent_message_draw 1 to see if something fires a kill input to the relay. Perhaps the event you scripted involves an "!activator - kill" command?
Oh, and the flag "fire only once" is disabled, right?
 

Werewolf

Probably not a real Werewolf
aa
Apr 12, 2011
873
309
Oh, and the flag "fire only once" is disabled, right?
Oh FFS.
hlIGGBc.gif

That flag was enabled. That's why it didn't work!

I so rarely use the flags on logic_relays that I forgot it has them. In this case, I had copied the replay from another one that did need that flag...

Thanks for that!