View Single Post
Old 14-12-16, 10:01   #30
AkyV
Moderator
 
Join Date: Dec 2011
Location: Hungary
Posts: 3,906
Default

Quote:
Originally Posted by sapper View Post

Code:
case 802:
	StrAdrMemory Save1;
        Save1 = Trng.pGlobTomb4->pVetMemorySavegame[58];
	if (*Save1.pShort == 3){
		PerformFlipeffect(NULL, 355, 0, 20);
	}
	break;
This version seems better. Now there is no "evaluate", no red icons.
On the other hand, it tells Save1 about that "Bad Ptr".

Quote:
Code:
case 803:
	*Trng.pGlobTomb4->pVetMemorySavegame[58].pShort=20;
	break;
Thank you, it worked!

However, what if I want to force a variable value?

Quote:
int Alfa;
Alfa=20;
*Trng.pGlobTomb4->pVetMemorySavegame[58].pShort=Alfa;
break;
Now I could build Solution, but the game crashed.

Last edited by AkyV; 14-12-16 at 10:04.
AkyV is online now   Reply With Quote