Apartment Interior

From Onset Developer Wiki
Revision as of 20:10, 11 January 2021 by BlueMountains (talk | contribs) (Created page with " Prefab 01a without furniture. <pre>/Game/Geometry/Prefabs/PF_Apartment_01a</pre> Prefab 01b with furniture as seen in the pictures below. <pre>/Game/Geometry/Prefabs/PF_Ap...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Prefab 01a without furniture.

/Game/Geometry/Prefabs/PF_Apartment_01a

Prefab 01b with furniture as seen in the pictures below.

/Game/Geometry/Prefabs/PF_Apartment_01b

Spawning the apartment interior from Lua.

local BlueprintClass = "/Game/Geometry/Prefabs/PF_Apartment_01b"
local Location = FVector(0.0, 0.0, 0.0)
local Rotation = FRotator(0.0, 0.0, 0.0)
GetWorld():SpawnActor(UClass.LoadFromAsset(BlueprintClass), Location, Rotation)