- Joined
- Apr 6, 2008
- Messages
- 760
hi, i wanna create structs with the help of text macro like this.
library ASDF
//! runtextmacro Effect("Effect","(Things i want in my struct)")
i want
is this posible?
JASS:
//! textmacro Effect takes NAME, TYPE
public struct $NAME$_Data
$TYPE$
endstruct
//! endtextmacro
library ASDF
//! runtextmacro Effect("Effect","(Things i want in my struct)")
i want
$TYPE$
to be e.g
JASS:
unit u
unit t
real dur
real maxdur
//! runtextmacro Effect("Effect","unit u unit t unit dur real maxdur")
like that but in like rowsis this posible?