Jump to content

adding multiple items


regice93

Recommended Posts

i'm new to scripting and the sites i've used don't seem to help at all, this is my script currently:

 

#include "utility_h"

#include "plt_bark_plot"

void main ()

{

if (wr_getplotflag)(plt_bark_plot, my_item_check_flag) = true

return;

 

event ev = getcurrentevent();

int neventtype = geteventtype(ev);

 

switch (neventtype)

{

case event_type_module_load:

{

ut_additemtoinventory(r"bark_bow.uti",1)

ut_additemtoinventory(r"bark_chest.uti",1)

 

wr_setplotflag( plt_bark_plot, my_item_check_flag, true );

 

break;

}

default:

break;

}

}

 

 

the error that comes up is 'E: 13:32:12 - bark_skin.nss - bark_skin.nss(5): Unknown state in compiler'

 

i've followed a tutorial to the letter and i'm really confused XD

Link to comment
Share on other sites

  • Recently Browsing   0 members

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