Frictional Games Forum (read-only)
[SCRIPT] Float's and Seconds? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [SCRIPT] Float's and Seconds? (/thread-11026.html)



Float's and Seconds? - flamez3 - 10-28-2011

Hi, I was just wondering how you determine how long 1.0f is in Real time? I'm trying to time something and it doesn't seem that 1.0f is 1sec in real life?


RE: Float's and Seconds? - Tanshaydar - 10-28-2011

Float----- 1.0
Integer---1
Second---1



RE: Float's and Seconds? - flamez3 - 10-28-2011

(10-28-2011, 12:57 PM)Tanshaydar Wrote: Float----- 1.0
Integer---1
Second---1
hmmm.... I know the difference, but it makes no sense since it still didn't match up, but I just did a workaround (tried random numbers till I got it) Smile


RE: Float's and Seconds? - Tanshaydar - 10-28-2011

The moment it triggers and the moment it triggers timer's function is important. So best to try different times to see which one is best.