Int StartingConditional

From NWN Lexicon

[edit] int StartingConditional()

This function declaration is necessary for any script which controls the flow of a conversation file. It returns an return statement within its code block. Any custom functions used within the StartingConditional() code block should be declared or prototyped before it (above the void StartingConditional() line).

// function declarations
void myProcedure() 
{
     // statements ...
}
 
int StartingConditional()
{
     // main code block
     myProcedure(); // myProcedure is executed
     return 0;
}




 author: Ryan Hunt, editor: Charles Feduke
 

Personal tools
Categories