I want the camera to follow a different character, i looked in help but all i could find was it to move a certain amount of pixles or go to co ordinants.
What i want is it to follow (camera/screen) this other character, then return to it's normal character.
The easiest way would be to make that character the player character temporarily, then switch back to the default player character.
Could you be more specific, I don't follow the idea ;)
AGS v2.7:
Character *prevchar = player; // save current player character
cSomeguy.SetAsPlayer(); // make SOMEGUY the player character
cSomeguy.Walk(150, 100, eBlock, eAnywhere); // have SOMEGUY walk to the middle of the room
prevchar.SetAsPlayer(); // after SOMEGUY has arrived, revert to previous player character
interesting question...just out of curiosity, how can you make the player character centred (Monkey Island style)?
As in a scrolling room, instead of scrolling only when the player is at the edge, the "Camera" is always following the player.
do a forum search on 'smart scrolling'
Many thanks Strazer, I never figure out this.