dudeim
New Member
- Reaction score
- 22
Hey,
I'm currently bussy with textmacro's and I wanted to know how you can use a jass global inside a textmacro like this:
So would this work?
Thanks
I'm currently bussy with textmacro's and I wanted to know how you can use a jass global inside a textmacro like this:
JASS:
globals
integer TestGlobal = 1
endglobals
//! textmacro TestGlobals //dunno if this is how it calls but just think it is correct<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" />
//! textmacroextend extend lua = blabla whatever goes here // no WE open so dunno the correct names
//! i TestGlobal = 5 //now the global I created above should be 5 is this the correct way?
//! endextendedtextmacro
//! endtextmacro
So would this work?
Thanks