Using mission templates

From WarThunder-Wiki
Jump to: navigation, search

The aim of templates is to free the mission creator from having to rewrite the same logic in different projects. To connect a template, you must import it into the mission. Templates are configured in a given project using variables. Unfortunately, variables are not imported; they must be declared anew in each mission and given default values which are fraught with bugs. In addition, any changes to the template which add or change a variable type must be accompanied by editing all its missions, so it is not recommended to change templates.


This template provides the basic logic of all missions. As of now, this logic is in the form of a script which destroys ground units over time. For the template to work correctly, all units which must be destroyed in the mission must be located in the squad t1_land_squad for team A, and in t2_land_squad for team B.