≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
time counter
Posted by:
(you are not logged in)
Enter the missing letter in: "Inter?ational"
(you are not logged in)
Text:
[quote][b][/b] wrote: here is the final code free to use and modify if you want it has property value timems that you can change in the cc editor if you dont know you need to save the code in text editor as the same name of the behavior [code] /* <behavior jsname="behavior_count" description="behavior_count"> <property name="Timems" type="float" default="1000" /> </behavior> */ behavior_count = function() { var now = (new Date()).getTime(); this.endTime = now + 1; } behavior_count.prototype.onAnimate = function() { var now = (new Date()).getTime(); if(now > this.endTime){ var count = ccbGetCopperCubeVariable("timeshoot"); count = parseInt(count); count = count + 1; print(count); ccbSetCopperCubeVariable("timeshoot", count); this.endTime = now + this.Timems; } } [/code][/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact