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 01-22-2005, 07:53 PM
Aethorpe Aethorpe is offline
Their black hands protect
Aethorpe's Avatar
Join Date: Dec 2004
Location: Beyond infinite.
Posts: 265
Aethorpe is on a distinguished road
Send a message via AIM to Aethorpe Send a message via MSN to Aethorpe
Quote:
Originally Posted by Evil_Trunks
for this purpose you will want to use a timeout loop
a basic timeout loop on the clientside would be something like

PHP Code:
//#CLIENTSIDE
if (created) {
  
// perhaps initialize some vars here since you will need some variables for this script
}
if (
playerenters || timeout) {
  
// code here
  
timeout 0.05;

you will want to increase and decrease your size variable

perhaps set a variable saying whether the size is increasing or decreasing, then once it reaches a certain size, make it start decreasing

hopefully you understand what I am saying
I do, but now changeimgzoom doesn't seem to be working, but setzoomeffect works just fine and loops. :|

edit: Yay, I got it working now.
__________________

Last edited by Aethorpe; 01-22-2005 at 08:04 PM..
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 03:10 PM.


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