Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Timers Problem [Solved]
Nye Offline
Senior Member

Posts: 250
Threads: 8
Joined: Jan 2011
Reputation: 2
#3
RE: Timers Problem

(02-24-2011, 10:39 PM)nkmol Wrote: try put 1.0f or just 1, instead of 1f HuhSmile

Yes, 1f wont work.

When scripting a "float" integer, it is good practice to use just an integer by itself (eg. 5, 12, 18, 3, 1) if you dont want to use decimals. Use the 'f' character if you are going to use decimals. (eg. 4.003f, 2.6f, 12.753f).

I think the limit is three decimal places also. An integer + 'f' will not work and flag an error.

02-24-2011, 10:49 PM
Find


Messages In This Thread
Timers Problem [Solved] - by Montonago - 02-24-2011, 10:06 PM
RE: Timers Problem - by nkmol - 02-24-2011, 10:39 PM
RE: Timers Problem - by Nye - 02-24-2011, 10:49 PM
RE: Timers Problem - by Montonago - 02-25-2011, 12:43 AM



Users browsing this thread: 1 Guest(s)