• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

Code Basic scripting in RO2

nuNce

Grizzled Veteran
Aug 25, 2011
110
44
Can someone explain me how to do basic keybind scripting in RO2?
I understand you can actually put custom functions into a keybind, just need to know how. I read you can create a custom .uc file where to put your functions, and then call the function ingame by binding it to a key or excecuting it in the console. Just don't know where to put the .uc and how to call it. What I need in fact is a function that makes the game wait between two command calls in a keybind.

Bindings=(Name="button",Command="teamsay 1 | sleepfunction | teamsay 2")