CopyArea(object)

From NWN Lexicon
Jump to: navigation, search
Warning icon orange.png Caution: This article documents NWN: Enhanced Edition content, not native BioWare scripts. It may not apply unless you're using NWN: Enhanced Edition.
Creates a copy of a existing area, including everything inside of it (except players).
object CopyArea(
    object oArea
);

Description

Creates a copy of a existing area, including everything inside of it (except players). Returns the new area, or OBJECT_INVALID on error. Note: You will have to manually adjust all transitions (doors, triggers) with the relevant script commands, or players might end up in the wrong area.

Remarks

Information icon.png This section of the article is a stub. You can help the NWN Lexicon by expanding it.

Version

1.74.8149 - Note that the description of this function was omitted from the PDF release notes. The function is described in a readme in the lang/<language>/docs directory delivered with Neverwinter Nights Enhanced Edition, and in the toolset script editor.

Example

Information icon.png This article is in need of examples. You can help the NWN Lexicon by showing how to use this code effectively.

See Also

functions: DestroyArea() CreateArea() SetTransitionTarget()



 author: Shadguy