The FloatToInt() NWScript command converts a float to an integer. The fractional part of the float is discarded (not rounded to the nearest integer as would be implied by the internal documentation). To get a float rounded to the nearest integer, add 0.5 before the conversion.
| Attributes | Values |
|---|---|
| rdfs:label |
|
| rdfs:comment |
|
| dcterms:subject | |
| dbkwik:nwn2/proper...iPageUsesTemplate | |
| returns | |
| Name |
|
| param |
|
| param1desc |
|
| dbkwik:nwn/property/wikiPageUsesTemplate | |
| abstract |
|