Author Topic: GuiMLTextCtrl crashes game  (Read 1701 times)

Code: [Select]
...
new GuiScrollCtrl()
{
position = "0 0";
extent = "302 145";
minExtent = "302 145";

horizSizing = "width";
vertSizing = "height";

new GuiMLTextCtrl()
{
profile = GuiMLTextEditProfile;
position = "0 0";
extent = "294 145";
minExtent = "294 145";

horizSizing = "width";
vertSizing = "height";
};
};
...

If I take out the GuiMLTextCtrl, everything works fine - but if it's there the game immediately crashes.


Does anyone know what causes this?

Fixed; I stole borrowed RTB's scroll profile and used that.

I guess the default scroll profile can't deal with text objects.

could it be related to http://forum.blockland.us/index.php?topic=254343.msg7382080#msg7382080?

it's not the object names in this case, but maybe there's other things happening

Why is it a GuiMLTextEditProfile, not a GuiMLTextProfile?