Jump to content

Stubborn Placeable Not Behaving


LadyHonor

Recommended Posts

I am trying to add two placeables on a table in this player's room in Highever. The script creates the items just fine, but it isn't putting them on the table. It's putting them on the floor beneath it. Soooo...any ideas how to fix it? Here's the script:

#include "wrappers_h"
#include "plt_lhc_highever_events"

void main()
{
    if (WR_GetPlotFlag(PLT_LHC_HIGHEVER_EVENTS, LHC_HIGHEVER_CREATE_ITEMS) == FALSE)
    {
        object oArea = GetObjectByTag("bhn100ar_castle_cousland");
        object oLetterK = GetObjectByTag("lhc_kaeleigh_letter");
        object oLetterKInv = GetObjectByTag("lhc_kaeleigh_letter_inv");

        location vLetterKLocation = Location(GetArea(oArea), Vector(-91.9197,-55.2072,13.7758), 0.0);
        location vLetterKInvLocation = Location(GetArea(oArea), Vector(-91.8936,-55.2158,13.7604), 0.0);

        CreateObject(OBJECT_TYPE_PLACEABLE, R"lhc_kaeleigh_letter.utp", vLetterKLocation);
        CreateObject(OBJECT_TYPE_PLACEABLE, R"lhc_kaeleigh_letter_inv.utp", vLetterKInvLocation);
        WR_SetPlotFlag(PLT_LHC_HIGHEVER_EVENTS, LHC_HIGHEVER_CREATE_ITEMS, TRUE);
    }
}
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...