how to make an event que?

Shakenbake

L1: Registered
Jan 27, 2011
3
0
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).
 

nik

L12: Fabulous Member
Aug 14, 2009
987
564
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
 

Hell-met

L1: Registered
Oct 30, 2010
43
9
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.
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,670
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.
 

Shakenbake

L1: Registered
Jan 27, 2011
3
0
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 >.<