Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 11-19-2011, 08:00 PM
iBeatz iBeatz is offline
Kavan
iBeatz's Avatar
Join Date: Dec 2010
Location: Northern Ireland, UK
Posts: 154
iBeatz will become famous soon enough
Send a message via Yahoo to iBeatz
Quote:
Originally Posted by Emera View Post
I know you have to use setfocus ;P
But it quickly snaps to the player. I want it to glide to the player smoothly. I have seen it done on Esteria.
Just set the focus on a timeout, and just move the camera along the delta between the player and focus point divided by how much you want it to glide for before it reaches the player.
I haven't done it before but I assume that's how you would do it.
__________________

Intelligence without ambition is like a bird without wings.


Last edited by iBeatz; 11-19-2011 at 08:04 PM.. Reason: typo
Reply With Quote
 


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 11:29 AM.


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