Difference between revisions of "Talk:Ceil"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Timeslip
(normal behaviour)
imported>JOG
(Duh...)
Line 18: Line 18:
:afaik, all functions behave like that. It's not something specific to ceil.
:afaik, all functions behave like that. It's not something specific to ceil.
:--[[User:Timeslip|Timeslip]] 08:13, 21 August 2006 (EDT)
:--[[User:Timeslip|Timeslip]] 08:13, 21 August 2006 (EDT)
:: --[[User:JOG|JOG]] 09:35, 21 August 2006 (EDT): Uhm... Yes of course, forget this ;)

Revision as of 08:35, 21 August 2006

seems like this function doesn't like parentheses and expressions that contain other functions.

set dummy to player.getav sneak 
set result to ceil dummy / 25

works fine

set result to ceil player.getav sneak / 25

returns "Unknown variable getav"

set result to ceil ( player.getav sneak / 25 )

returns "Missing parameter float"

--JOG 06:45, 21 August 2006 (EDT)

afaik, all functions behave like that. It's not something specific to ceil.
--Timeslip 08:13, 21 August 2006 (EDT)


--JOG 09:35, 21 August 2006 (EDT): Uhm... Yes of course, forget this ;)