Browsing Wiremod's section
← Back to ACE
💬

Community answer

Collected from the ACE community Discord archive around 2023-11-22. It may be informal or outdated — anyone can edit this page to improve it. This topic changes between game versions — double-check before relying on it. Original discussion

Delayed gun fire with E2 timer/clk

💻 Expression 2Updated 2 days ago•0 views
Use timer() and clk(): on input change call timer("Delay",1000), then if(clk("Delay")) set Fire=1 else Fire=0. clk() checks whether a named timer has expired.

How to delay a gun firing by one second after a key press in E2

Use timer() and clk(): on input change call timer("Delay",1000), then if(clk("Delay")) set Fire=1 else Fire=0. clk() checks whether a named timer has expired.

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.