GetClassification - Weather: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
imported>Jlundin
No edit summary
 
m (Convert source tags to syntaxhighlight)
 
Line 6: Line 6:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
int function GetClassification() native
int function GetClassification() native
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 21: Line 21:


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; See if the weather is cloudy
; See if the weather is cloudy
if SomeWeather.GetClassification() == 1
if SomeWeather.GetClassification() == 1
   DebugTrace("Some weather is cloudy")
   DebugTrace("Some weather is cloudy")
endIf
endIf
</source>
</syntaxhighlight>


== Notes ==
== Notes ==

Navigation menu