Hey there, i'm new to scripting, can't figure why this is not working
I Load the script, press enter in my game and nothing.
JavaScript:
(function() {
if(Input.isTriggered('ok')){
$gameMessage.add("BANG")
}
})();
I Load the script, press enter in my game and nothing.