Difference between revisions of "Category:Commands"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>JOG
m (linked to functions to ease up browsing)
imported>JOG
m
Line 40: Line 40:




if ( var1 == 1 && var2 != 1 ) ; logical and  
if ( var1 == 1 ) && ( var2 == 1 ) ; logical and  


if ( var1 != 1 || var2 >= 1 ) ; logical or
if ( var1 == 1 ) || ( var2 == 1 ) ; logical or





Revision as of 17:13, 12 April 2006

scriptname ScriptName


begin [block type]

end


; comment


short varNameShort

long varNameLong

float varNameFloat

ref varNameRef


set varName to 5


if ( varName > 100 ) ; greater than

elseif ( varName < 20 ) ; less than

else

endif


if ( varName == x ) ; equals

if ( varName != x ) ; not equal to

if ( varName >= x ) ; greater than or equal to

if ( varName <= x ) ; less than or equal to


if ( var1 == 1 ) && ( var2 == 1 ) ; logical and

if ( var1 == 1 ) || ( var2 == 1 ) ; logical or


return ; exits the script -- no lines following will be processed

set objectID.varName to 100

objectID.getav health

Subcategories

This category has the following 3 subcategories, out of 3 total.

B

F

V

Pages in category "Commands"

The following 11 pages are in this category, out of 11 total.