i cant figure out how i would do this. I have 3 buttons the perform 3 different action, and i would like the user to choose 1 of the 3, then the selection will be chosen, but i do not want the corresponding event to occur until a specific time during the map.I can get them to work right when the button is pressed. how would i go about doing this?? An example of this that i can think of are nade precision maps, you dont get the buffs and stuff until after you get sent to the battle map(in css).
add a value to a math counter when it gets pressed, then add another when you want it to happen, and then have a logic entity fire when the value hits 2 that triggers the event that's probably a really bad way, but that's how I would do it
as far as I know math_counters don't work well with buttons, since the value gets added even if the player presses the button during its cooldown.
Use logic_relay entities as an intermediary, have one for each action and all start disabled. Have the button enable it's related relay. When you want the action to happen trigger all the relays and only the enabled one will fire.
LOL thanks Boojum! i standing in the shower and all of a sudden i thought of exactly what you suggested! I will have to try this out, I might need a little help on how relays work >.<