I am new to this DAO toolset.
With you guys' experience, how long does it take to compile a script?
Last couple days, I was following the tutorial on http://dragonagemodd...player-an-item/
Here's the script I used:
#include "utility_h"
#include "wrappers_h"
#include "events_h"
void main()
{
event ev = GetCurrentEvent();
int nEvent = GetEventType(ev);
Log_Events("", ev);
switch (nEvent)
{
case EVENT_TYPE_MODULE_LOAD:
{
// get the object which contains the player
object oPlayer = GetHero();
object oBow = GetObjectByTag("gen_im_wep_mel_dag_ros");
if (!IsObjectValid(oBow))
UT_AddItemToInventory(R"gen_im_wep_mel_dag_ros.uti",1);
break;
}
default:
{
break;
}
}
}
Yet, when I clicked complie, the whole toolset was forzen and not responding for hours.
Has any one encounter this situation before?
Thanks in advance.
Modifié par none0421, 18 mars 2010 - 11:21 .





Retour en haut






