Main Page   Modules   File List   File Members  

LuaSensor.cpp File Reference


Detailed Description

System: Scar

>


Functions

void Sensors_Toggle (bool turnOn)
 turn on the sensors. if turned on, player can't toggle sensors manager

void Sensors_Switch (bool turnOn)
 same as Sensors_Toggle, except player is allowed to toggle

bool Sensors_ManagerIsUp ()
 returns true if the SM is up because of a user command

void Sensors_SetCameraMinMax (float min, float max)
 sets the minimum and maximum zoom distance for the camera when it's in the sensors manager

void Sensors_SetZoomOutDistance (float distance)
 sets the sensor manager zoom out distance, the distance will be clamped between the min and max values of the SM these can be modified using Sensors_SetCameraMinMax

void Sensors_EnableCameraZoom (bool bEnable)
 enable/disable camera zoom override; the SM loses control over the camera

void Sensors_FlashWorldPlane (bool bFlash)
 make the world plane flash


Generated on Fri Oct 31 04:05:39 2003 for Scar by doxygen1.3-rc3