Jump to content

What on earth is the int variable type?


Recommended Posts

Its like the VB type Object, that can hold any form of data... :smile:

 

The main reason for using different data types must still to make the code optimal. Otherwise there is no point, just use 32-bit or even 64-bit big variable holders...

Edited by Pellape
Link to comment
Share on other sites

You can use integers for any function with a float result, it'll just get truncated. For GetSecondsPassed it should still function the same

It definitely does not function the same, as the accuracy of the time evaluaton is gone because of the truncation.

I've had this issue from time to time, until I realized that I used a wrong variable type regarding the stuff I wanted to do. ^^

 

"fQuestDelayTime" does either not work properly when using an integer.

 

 

 

But I agree, you can use it.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...