This should be simple but isn't... Created 17 years ago2006-05-07 00:58:20 UTC by Soup Miner Soup Miner

Created 17 years ago2006-05-07 00:58:20 UTC by Soup Miner Soup Miner

Posted 17 years ago2006-05-07 00:58:20 UTC Post #178798
Game: CS 1.6
Ok, here's the deal. I need to make a trigger that only works once per round, every round. I figured it would have to be a trigger_multiple. The trigger must be brush based.
I used to be able to do this by merely created a trigger_multiple at setting a high reset time on it(usually 999) but apparently that doesn't work anymore, probably because of an engine update or something. Neither does a reset time of -1.

What I'm trying to do is have the player run up the a specific zone(aka the trigger) and recieve a grenade, however only one grenade can be given per round. Thats were my problem comes in.
Posted 17 years ago2006-05-07 01:20:39 UTC Post #178799
What's wrong with trigger_once? It should get restarted when the round starts...
AJ AJGlorious Overlord
Posted 17 years ago2006-05-07 04:24:10 UTC Post #178814
Once per round, or once per round per client?
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 17 years ago2006-05-07 09:03:23 UTC Post #178846
Once and only once per round. Trigger_once doesn't work, they don't work in cs(they still only trigger one time for the entire game).
Posted 17 years ago2006-05-07 19:31:23 UTC Post #178947
I don't know cs well, but how about a multi-manager that fires the trigger and then disables itself until the bomb is blown or defused?
Posted 17 years ago2006-05-07 19:35:04 UTC Post #178948
Bomb? There is no bomb, you just walk into the trigger. I'd still need something to trigger the multi_manager anyway so its still the same problem.
Posted 17 years ago2006-05-08 01:35:30 UTC Post #178958
I think BJ's talking about the objective bomb, if it's a defuse map.
Posted 17 years ago2006-05-08 07:36:30 UTC Post #178992
Its a ka_, but even if it where a defuse I would want this trigger to have anything to do with the bomb.
Posted 17 years ago2006-05-09 00:42:53 UTC Post #179136
I don't know enough about CS to be sure this would work, but in HLDM I'd try something like having a Master on the trigger_multiple which is Enabled by something triggered by level start, then Disabled by the multimanager which it actually triggers (and which also delivers the grenade...)

I don't have the time at the moment to work out the specifics, but if you need more than that let me know and I'll look into it later...
Posted 17 years ago2006-05-09 04:37:03 UTC Post #179141
As far as I know, it's pretty difficult to detect the round start in CS, but wasn't there a trick for it with a door or such?

Once you get that sorted out, darkphoenix' method will work just fine - an env_global that always sets the master to on should be triggered on round-start, and an env_global that always sets the master to off should be triggered when you run through the specific trigger_multiple.
Posted 17 years ago2006-05-10 23:07:10 UTC Post #179413
have another trigger in the spawn area that resets the trigger?? maybe
Tetsu0 Tetsu0Positive Chaos
You must be logged in to post a response.