Jump to content

Home

[TSL] Delete a dialog node


Recommended Posts

Ohhh, thanks Tk i really am losing my mind these past few days.

 

I seem to be having a problem with the script though when compiling i get this error:

 

Compiling: c_chk_baodur.nss

c_chk_baodur.nss(2): Error: Undeclared identifier "IsAvailableNPC"

c_chk_baodur.nss(3): Error: Not all paths return a value

Compilation aborted with errors

Total Execution time = 78 ms

 

Any clues?

Link to comment
Share on other sites

:o A typo in nwscript.nss!!!

 

// 696. IsAvailableNPC

// This returns whether a NPC is in the list of available party members

int IsAvailableCreature( int nNPC );

 

It says IsAvailableNPC but it is declared as IsAvailableCreature!

 

try this:

int StartingConditional() {
return IsAvailableCreature(NPC_BAO_DUR);
}

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...