You can define as many functions as you want inside an.When entering the Script Name inside the Editor, you do not need to include the final.These functions will be called automatically for that specific Script Call. If you wrote a function inside of the Scenario Editor, it will be compiled into an.bool Function() should return a boolean expression) Make sure the function returns the defined type (e.g.
having multiple functions called Function() will cause a conflict) It adds another layer of scripting functionality to the existing trigger system in the scenario editor.īelow, you can find a quick introduction and some examples of the new functionality.
xs scripting for is a new functionality added to Age of Empires II: Definitive Edition, available with the November 2020 update.