scripting: Explain what these are?
Posted: Wed Jan 12, 2005 6:59 pm
a couple of things i have no clue to what they do. what are they:S
openportal
Open the area portal enclosed in this object
closeportal
Close the area portal enclosed in this object
so portal?
skyportal ( Boolean newSkyPortalState )
Whether or not to use the sky portal at all
lavacolor ( Vector lavaColor )
Set the color of lava screen blend
what lava:S
how to use?
CreateListener
delaythrow ( String label )
Internal usage.
error ( String message, Integer level )
Generate a script error with specified message and stack level
:S
throw ( String label )
Throws to the specified label.
timeout ( Float time )
specifies script timeout time
assert ( Float value )
Assert if value is 0.
bool ( Integer value )
Casts value to a bool.
testthread ( String scriptfile, [String label] )
Starts the named thread at label if provided.
centroid
entity's centroid
motionfail
motionfail
openportal
Open the area portal enclosed in this object
closeportal
Close the area portal enclosed in this object
so portal?
skyportal ( Boolean newSkyPortalState )
Whether or not to use the sky portal at all
lavacolor ( Vector lavaColor )
Set the color of lava screen blend
what lava:S
how to use?
CreateListener
delaythrow ( String label )
Internal usage.
error ( String message, Integer level )
Generate a script error with specified message and stack level
:S
throw ( String label )
Throws to the specified label.
timeout ( Float time )
specifies script timeout time
assert ( Float value )
Assert if value is 0.
bool ( Integer value )
Casts value to a bool.
testthread ( String scriptfile, [String label] )
Starts the named thread at label if provided.
centroid
entity's centroid
motionfail
motionfail