PlaceAtCell

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Similar to the vanilla function PlaceAtMe. Unlike the latter, does not require a calling reference to use as the spawn location, but instead allows specifying either a Cell, or a Worldspace, and the X/Y/Z position.

Syntax

[help]
(placedObj:ref) PlaceAtCell baseObject:form count:int cellOrWorld:form posX:float posY:float posZ:float

Example

set rPlacedObj to PlaceAtCell CrFeralGhoulGlowingOne 2 GSProspectorSaloonInterior 150 -450 3500
set rPlacedObj to PlaceAtCell EncWastelandNVTough 1 WastelandNV 28000 33000 5000