Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-04-2012, 08:23 AM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
or you could edit the (much simpler) variable tweening that I suggested a while back. Join your GUI object to the class, and use tween on "x" or "y" instead of "alpha".
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote
  #2  
Old 07-04-2012, 08:11 PM
Alpho Alpho is offline
Registered User
Alpho's Avatar
Join Date: Dec 2011
Location: California, USA
Posts: 80
Alpho will become famous soon enough
Thank you everybody for the input! In the end, I went with Tigairius's variable tweening.

Quote:
Originally Posted by Tigairius View Post
or you could edit the (much simpler) variable tweening that I suggested a while back. Join your GUI object to the class, and use tween on "x" or "y" instead of "alpha".
Tig, I got your example to work perfectly when I put the class clientsided. Though I can't get it to work with my gui controls. Any ideas?
Reply With Quote
  #3  
Old 07-04-2012, 09:31 PM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
Quote:
Originally Posted by Alpho View Post
Thank you everybody for the input! In the end, I went with Tigairius's variable tweening.



Tig, I got your example to work perfectly when I put the class clientsided. Though I can't get it to work with my gui controls. Any ideas?
Sure, just post the portion of the script that you're trying to get to work and we'll get it working.
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote
Reply


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:39 PM.


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