OP's problem with
useOwnProfile taking over the defaults is indeed caused by the ordering of
useOwnProfile.
Quote:
Originally Posted by Crow
I don't think useOwnProfile applies to the textprofile at all. I guess you might be better off creating your own profile for this purpose, maybe inheriting the one you wanted to use originally. Profile inheritance should be possible somehow, I just can't remember how to do it, sorry.
|
You could probably do something like... (edit: tested, this
does work)
PHP Code:
textprofile = new GuiBlueTextListProfile();
textprofile.fontColor = {255, 0, 0};
or just make your own profile the normal way (you can do
new GuiBlueTextListProfile("MyProfile") instead of
new GuiControlProfile("MyProfile") for inheritence).
Quote:
Originally Posted by xXziroXx
Pretty sure you can do...
textprofile.profile = "nameofprofile";
textprofile.useOwnProfile = true;
|
Please don't put profile names in quotes. They're objects, not strings.
useOwnProfile is a property of a GUI control, not of a profile (that wouldn't make sense since profiles are shared, hence why unique ones are necessary to make changes for a certain object).
textprofile and
scrollprofile are the profile objects the control is using.
PHP Code:
profile = GuiBlueContextMenuProfile;
textprofile = GuiBlueTextListProfile;
scrollprofile = GuiBlueScrollProfile;
Quote:
Originally Posted by Emera
I never knew you could use useownprofile for specific profiles like that.
|
You can't.