daily pastebin goal
83%
SHARE
TWEET

Untitled

a guest Dec 9th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. animationNode as NodeRef of Class GUIAnimation
  2.     foreach status in me.children
  3.       animationList as List of  Association = QueryAssociation(status, "GUIAnimation", 0)
  4.       if animationList.length > 0
  5.         animationNode = animationList[1].target
  6.         if (findString(animationNode.GUIanimationArgs,me.stCurrentIconScale + ",.5") > 0) and (findString(animationNode.GUIanimationArgs,"scale") > 0)
  7.           clear animationList
  8.           return
  9.         else          
  10.           destroynode(animationNode)
  11.           me.animateNode(status, status.scale, me.stCurrentIconScale)
  12.          
  13.         .
  14.       else
  15. //        if not(Round(100 * status.scale) = Round(100 * me.stCurrentIconScale))
  16.           me.animateNode(status, status.scale, me.stCurrentIconScale)
  17. //        .
  18.       .
  19.       clear animationList    
  20.     .
  21.   .
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top