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
Script Help Explain float afAmount and etc...?
MissMarilynn Offline
Member

Posts: 77
Threads: 23
Joined: Oct 2011
Reputation: 1
#3
RE: Explain float afAmount and etc...?

(01-10-2012, 12:33 AM)Your Computer Wrote: Floats are normally 32-bit decimals (if that confuses you, then just drop the "32-bit" adjective), though it is perfectly fine to use integers too. The best amount is up to you. Note, though, if you don't place an "f" at the end of a decimal number, the script will first consider it a double (a 64-bit float, which uses more memory than a float).

PHP Code: (Select All)
float num 0.0f;
num 5.1233045f;
num 10
How are these numbers then?

StartScreenShake(10, 5, 3, 3);


I want it to start as soon as he hits the area, last for about 10 seconds, and then fade out.
01-10-2012, 12:52 AM
Find


Messages In This Thread
RE: Explain float afAmount and etc...? - by MissMarilynn - 01-10-2012, 12:52 AM



Users browsing this thread: 1 Guest(s)