Excessus is spot on, I don't want to have to update mplayerdebugtext every time mplayerobj.strPlayerName is changed.
The TEXT is visible. If I do the following
Code:
mplayerobj.strPlayerName = "TEST";
(mplayerdebugtext.txtPlayerName.pstring)[0] = mplayerobj.strPlayerName;
mplayerobj.strPlayerName = "PLAYER NAME";
Code:
The word TEST is displayed on the screen. If I was not using structs and just a 'traditional' STRING and TEXT combination I would not have to update the TEXT when the STRING changed.
Hope this helps anyone looking.