GetSkyBox(object)

From NWN Lexicon
Jump to navigationJump to search

Gets the SKYBOX_* constant being used in the calling area.

Parameters

oArea
The area for which the skybox will be returned.


Description

Gets the SKYBOX_* constant being used in the calling area.

If no valid area (or object) is specified, the area of the caller is used or if the caller is an area it uses that area.


Remarks

If the area's skybox is set to a custom skybox defined in the skyboxes.2da file, the function returns the row number in the skyboxes.2da file occupied by that custom skybox's definition.


Version

1.65

Example

See SetSkyBox.

See Also

functions: 

SetSkyBox

constants: 

SKYBOX_*



author: bernosky, editor: Mistress, contributor: Axe Murderer