Good Evening To All AGSer !
I Have A Question To Ask You Again...
In My Folder Game There's A Text Document Where It Says That There Is An Error...
(in room 1): Warning: ChangeCharacterView was used while the view was fixed - call ReleaseCharView first
Someone Know How To Fix This ?!
Post Scriptum (Actually, In My Game, I Cannot See This Kind Of Error...) :-X
After setting a characters view...you should unlock it when you're done with it instead of just changing it again. The warning should go away once you have done this.
Hello NickyNyce Thanks For Answering !
Do You Mean When You Animate A View ?!
I Am More Than Sure I Done So In This Way...
As Example :
if (mouse.IsButtonDown(eMouseRight))
{
player.StopMoving();
cMercenario.LockView(2);
cMercenario.Animate(2, 5, eOnce, eNoBlock, eForwards);
Ammo -=1;
cMercenario.UnlockView();
}
Yeah, that's what I meant. I would look in the manual about ReleaseCharView. I'm guessing it's along the same lines.
Thanks, Thanks A Lot For The Help !
It Is An Error About The Releasing View, That I Can Understand It