Help talk:Function syntax

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

String and Bool types?[edit source]

Aren't the string and bool types specific to OBSE? I don't recall ever seeing either one used in a purely vanilla script. --Arthmoor 19:21, 31 August 2011 (EDT)

String is used as an argument value by Oblivion script... you're probably right that no function returns one, though. I may amend the wording there.
Boolean values are used by functions all the time, though there is no special bool variable type. That might be unclear. But the page is primarily intended to explain the descriptions used by the Wiki, which does use bool to indicate a boolean value (even though the variable passed to the function or receiving the result would be declared as a short).
I'll try to make that a bit clearer.
Oh, and please sign comments on discussion pages with ~~~~; it'll insert your name and a timestamp, which is convenient for keeping track of who is saying what. I've added it here, but it's appreciated if you could do that in the future.
Dragoon Wraith TALK 17:34, 1 September 2011 (EDT)