Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-09-2002, 02:02 AM
GrowlZ1010 GrowlZ1010 is offline
defunct
Join Date: May 2002
Posts: 187
GrowlZ1010 is on a distinguished road
setfocus...?

Okay, we all know about the setfocus command, for making the Graal top-down camera look at different co-ordinates. But once you've used it, how do you make it switch back to the normal follow-player cam?

NPC Code:

setfocus players[0].x,players[0].y;



... is the solution I've been told in the past, but all this does is make the camera look at your player and stay locked on to that spot, without following the player around the level. Will I need a:

NPC Code:

if (timeout){
setfocus players[0].x,players[0].y;
timeout = 0.05;
}



to manually bring back the normal camera, or is there an easier way?
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:33 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.