Title says all, is there any way to change what a TEXT struct displays at runtime?
Posted By: delinkx
Re: Changing TEXT* at runtime? - 01/08/09 06:32
yes u can. its a struct of "variables". u can modify all within them on run time. just access the members u want to make changes and modify them as n when u want on run time.
I'm not sure how you could change the size of the pstring array but you can change the string very easily. Check this out:
TEXT* blah =
{blah..blah.
string("whats up");
}
//elsewhere
...
str_cpy((blah.pstring)[0],"New string");
Thank you very much PrenceOfDarkness...Great help.
Posted By: MMike
Re: Changing TEXT* at runtime? - 01/09/09 03:51
this is basic... should read manual lazy lazy...