Sandbox: Difference between revisions

186 bytes added ,  25 April 2008
m
linkety link
m (made the 'works' columns link to the tut, too)
m (linkety link)
Line 390: Line 390:
| || give_powerup|| powerup_name:string<br>amount:int<br>character:int||  Gives a powerup to a character ||  
| || give_powerup|| powerup_name:string<br>amount:int<br>character:int||  Gives a powerup to a character ||  
|-
|-
| || gl_fog_end_changeto|| end_val:float<br>frames:int||  changes the fog end distance smoothly||  
|void || [[gl_fog_end_changeto]]||
#float end_val=0.0
#int frames=0
|  changes the fog end distance to '''end_val''' over '''frames''' frames|| OK
|-
|-
| || gl_fog_start_changeto|| start_val:float<br>frames:int||  changes the fog start distance smoothly ||  
|void || [[gl_fog_start_changeto]]||
#float start_val=0.0
#int frames=0
|  changes the fog start distance to '''start_val''' over '''frames''' frames || OK
|-bgcolor="silver"
|-bgcolor="silver"
| || goto|| loc_x:float<br>loc_y:float<br>loc_z:float||  Sets the location of the player character ||  
| || goto|| loc_x:float<br>loc_y:float<br>loc_z:float||  Sets the location of the player character ||  
|-
|-
| || gs_farclipplane_set|| plane:float||  sets the far clipping plane ||  
|void || [[gs_farclipplane_set]]||
#float plane=0.0
|  sets the far clipping plane distance (default is 10000 WU) || OK
|-bgcolor="silver"
|-bgcolor="silver"
| || gs_fov_set|| fov_degrees:float||  sets the field of view ||  
|void || [[gs_fov_set]]||
#float fov_degrees=0.0
|  sets the vertical field of view (default is 45°) || OK
|-bgcolor="silver"
|-bgcolor="silver"
| || hang|| || ||  
| || hang|| || ||