Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- animationNode as NodeRef of Class GUIAnimation
- foreach status in me.children
- animationList as List of Association = QueryAssociation(status, "GUIAnimation", 0)
- if animationList.length > 0
- animationNode = animationList[1].target
- if (findString(animationNode.GUIanimationArgs,me.stCurrentIconScale + ",.5") > 0) and (findString(animationNode.GUIanimationArgs,"scale") > 0)
- clear animationList
- return
- else
- destroynode(animationNode)
- me.animateNode(status, status.scale, me.stCurrentIconScale)
- .
- else
- // if not(Round(100 * status.scale) = Round(100 * me.stCurrentIconScale))
- me.animateNode(status, status.scale, me.stCurrentIconScale)
- // .
- .
- clear animationList
- .
- .
Add Comment
Please, Sign In to add comment