JassHelper Help

Globals of struct types

You can have globals of struct types. Because of Jass' limitations you cannot initialize them directly.

globals pair globalpair=0 //legal pair globalpair2= pair.create() //not legal endglobals

You would have to assign them in an init function instead.

Last modified: 16 October 2024