Why does the following not work when its put into a global code function:
strcpy(someactor.text,"debug output");
or
someactor.textNumber=1000;
Any ideas?
thx
void testf(int num)
{
sprintf(someactor.text,"%d",num);
}
Game A Gogo wrote:you can always use
- Code: Select all
void testf(int num)
{
sprintf(someactor.text,"%d",num);
}
void testf(int num)
{
Actor*tact;
tact=getclone("someactor");
tact->textNumber=num;
}
Users browsing this forum: No registered users and 1 guest