#1 07-01-2012 17:39

ATP
Registered: 07-07-2009
Posts: 15
Website

Question to the Usage of '0ADF: add_dynamic_GXT_entry'

Hey,
if I use this:

0004: $INDEX = 0
06D1: v$GXT_NAME[0] = "BLUBGXT"
0ADF: add_dynamic_GXT_entry $GXT_NAME($INDEX,50v) text "This is my great new GXT entry, it is just awesome."

It works fine.

But if I use this:

0004: $INDEX = 0
06D1: v$GXT_NAME[0] = "BLUBGXT"
06D1: v$GXT_CONTENT[0] = "This is my great new GXT entry, it is just awesome."
0ADF: add_dynamic_GXT_entry $GXT_NAME($INDEX,50v) text $GXT_CONTENT($INDEX,50v)

The text appears clipped ingame.

Any idea? Maybe wrong usage of the data type?

Offline

#2 08-01-2012 18:03

Seemann
Registered: 07-08-2006
Posts: 2,156

Re: Question to the Usage of '0ADF: add_dynamic_GXT_entry'

v$ variables may only contain up to 16 symbols of text. SB cuts the rest.

Offline

#3 09-01-2012 17:09

ATP
Registered: 07-07-2009
Posts: 15
Website

Re: Question to the Usage of '0ADF: add_dynamic_GXT_entry'

Yeah, I already got that hint.

If somebody is intressted in a solution, check out the post of Silent in this thread:
http://gtag.gtagaming.com/forums/index. … wtopic=612

Offline

Board footer

Powered by FluxBB