Jump to content

Trying to make a script run in the Camp


rubim

Recommended Posts

//MERCHANT REAGENT
#include "wrappers_h"
void main()
{
object oPlayer = GetMainControlled();
DisplayFloatyMessage(oPlayer, "ITS WORKING, ALELUIA", FLOATY_MESSAGE, 16777215, 20.0);
object oMerchant = UT_GetNearestObjectByTag(oPlayer, "rubmer_reagent");
if (!IsObjectValid(oMerchant))
{
object oArea = GetObjectByTag("cam100ar_camp_plains");
location lMerchantLocation = Location(oArea, Vector(131.97, 145.63, -0.82), 20.3);
CreateObject(OBJECT_TYPE_CREATURE, R"rubmer_reagent.utc", lMerchantLocation);
}
}

 

For that autorun in the game i have to make a 2DA, so that is what i did.

 

"PRCSCR_RubSpawn.GDA" (The thing is, the script is not working, i put the file under: C:\Users\Rubim\Documents\BioWare\Dragon Age\AddIns\rub_merchant\override

 

Am i doing something wrong?

 

EDIT1: HOLY poo, it was on the WRONG folder! SORRY =(

EDIT2: Not Working, new folder C:\Users\Rubim\Documents\BioWare\Dragon Age\AddIns\rub_merchant\core\override

EDIT3: runscript is working fine, but still cant see the the NPC

Link to comment
Share on other sites

  • Recently Browsing   0 members

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