Thread: Magic timer?? Not working..

Results 1 to 3 of 3
  1. #1 Magic timer?? Not working.. 
    Banned
    Join Date
    May 2009
    Posts
    1,220
    Thanks given
    4
    Thanks received
    61
    Rep Power
    0
    Code:
    p.requestAnim(1978, 0);
    				p.mageTimer = 3;
                    pi.deleteItem(p, 560, 0, 2);
                    pi.deleteItem(p, 565, 0, 2);
                    pi.deleteItem(p, 555, 0, 3);
    				if(p.mageTimer <= 0)
    				{
    this is what's in my process
    Code:
    if(mageTimer > 0) 
    		{
    		mageTimer --;
    		}
    Yet it just does the animation.. how do i make keep checking?
    Reply With Quote  
     

  2. #2  
    Registered Member Hexagon's Avatar
    Join Date
    May 2008
    Posts
    672
    Thanks given
    28
    Thanks received
    18
    Rep Power
    33
    you can add a loop by adding (p.mageTimer = 3 to the end of your method...
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    May 2009
    Posts
    1,220
    Thanks given
    4
    Thanks received
    61
    Rep Power
    0
    Quote Originally Posted by sn4k3d View Post
    you can add a loop by adding (p.mageTimer = 3 to the end of your method...
    explain a little more?
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

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