User Tools

Site Tools


lgscript:darkgamesrv

DarkGameSrv

KillPlayer

“Kills” the player by immobilizing him and tilting the camera. Does not actually affect the player’s hit points. Does not end the mission.

Returns boolean success

EndMission

Immediately ends the mission.

Returns boolean success

FadeToBlack

Gradually fade the screen to all-black. Fade time is in seconds. A negative value will immediately return the screen to full visibility.

Returns boolean success
Parameter number seconds

FoundObject

Mark a hidden object as found.

Parameter integer object

ConfigIsDefined

Check if a configuration variable has been set.

Returns boolean isset
Parameter string config

ConfigGetInt

Get a configuration variable as an integer.

Returns integer or nil value
Parameter string config

ConfigGetFloat

Get a configuration variable as a real number.

Returns number or nil value
Parameter string config

BindingGetFloat

Get an input binding variable.

Returns number value
Parameter string config

GetAutomapLocationVisited

Check if an area of the automap has been visited.

Returns boolean isvisited
Parameter integer page
Parameter integer room

SetAutomapLocationVisited

Mark an area of the automap as visited.

Parameter integer page
Parameter integer room
lgscript/darkgamesrv.txt · Last modified: 2009/08/25 22:05 (external edit)