First of all, nice wrapper. I was waiting for something like this.

I haven't found so many tutorials or code snippet for this wrapper. I will contribute my prototype code, when its finished.

But at the moment i have a problems with printing Text.

I've tested something like this:

Code:
TEXT my_text = EngFun.txt_create(1, 0);
my_text.pos_x.IntValue = 100;
my_text.pos_x.IntValue = 100;
EngFun.str_cpy(my_text.pstring[0], "Hello World");
my_text.flags = Flags.INVISIBLE | Flags.SHOW;



Which gives me a ArgumentNullException in the EngFun.cs line 2634. I'm using the 7.82 wrapper.

If i use instead:
Code:
EngFun.txt_addstring(my_text, "test");



Then I can see the "test" string, but how can I change it afterward?

Another thing is, I'm not sure if these both methods are connected somehow, but I've tried this:

Code:
TEXT my_text = EngFun.txt_create(2, 0);
my_text.pos_x.IntValue = 100;
my_text.pos_x.IntValue = 100;
Var v = EngFun.txt_addstring(my_text, "test");
STRING s = EngFun.txt_str(my_text, v.IntValue);
my_text.flags = Flags.INVISIBLE | Flags.SHOW;



And got an "s = null" as an result, but only when the first parameter from txt_create is bigger then 1.

I hope you can help me and I'm sure I will have some more questions in the future.

best regards
Neiko