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 is just... broken?
Entih Offline
Junior Member

Posts: 47
Threads: 4
Joined: Sep 2010
Reputation: 0
#6
RE: Script is just... broken?

No, a number like '0.0f' represents that it is a floating point value, IE uses a decimal. It is the proper notation in C++ when working with float values, and by extension this script, though this script is far less... strict... on the f's usage it seems. I still use it for all float values though.

The lamp oil function does take a float, from 0 to 100 percent, so using 0.0f may actually make it work, though 0 should have worked just as well.

EDIT: Yeah, just tested it, the script is not much of a stickler. The lamp oil function works with just standard old 0 just the same as 0.0f.
10-15-2010, 06:15 PM
Find


Messages In This Thread
Script is just... broken? - by Kyle - 10-15-2010, 02:02 AM
RE: Script is just... broken? - by DamnNoHtml - 10-15-2010, 06:24 AM
RE: Script is just... broken? - by Kyle - 10-15-2010, 11:12 AM
RE: Script is just... broken? - by SLi78 - 10-15-2010, 05:11 PM
RE: Script is just... broken? - by Chilton - 10-15-2010, 05:52 PM
RE: Script is just... broken? - by Entih - 10-15-2010, 06:15 PM
RE: Script is just... broken? - by Kyle - 10-15-2010, 11:44 PM
RE: Script is just... broken? - by Entih - 10-16-2010, 02:37 AM
RE: Script is just... broken? - by Kyle - 10-16-2010, 02:48 AM
RE: Script is just... broken? - by Entih - 10-16-2010, 03:08 AM
RE: Script is just... broken? - by Kyle - 10-16-2010, 03:48 PM
RE: Script is just... broken? - by Entih - 10-16-2010, 05:58 PM
RE: Script is just... broken? - by Kyle - 10-17-2010, 01:40 AM
RE: Script is just... broken? - by Entih - 10-17-2010, 01:43 AM
RE: Script is just... broken? - by Kyle - 10-17-2010, 01:58 AM
RE: Script is just... broken? - by Equil - 10-17-2010, 02:04 AM
RE: Script is just... broken? - by Kyle - 10-17-2010, 03:02 AM



Users browsing this thread: 1 Guest(s)