Commentator on team goal
ZFrees opened this issue · comments
ZFrees commented
Hi, i just wanna ask about how i can make commentator say difference response to difference goals, ex.
if team red score:
first goals = first response
second goals = second response
etc.
i have a script but it just one response for every goals
if (game.lastKickerTeam == 1) { //if goal type is goal
goalType = "GOAL!";
scorer = "⚽ " + game.lastKickerName;
avatarCelebration(game.lastKickerId, "⚽");
announce("Commentator: What a goal from " + game.lastKickerName + " 😮");
i really appreciate it if you wanna help me finish this script :)