UW2_PRC8/_module/nss/desc_invalid.nss
Jaysyn904 5197ad9a4d Initial upload
Initial upload
2023-09-25 20:24:01 -04:00

20 lines
425 B
Plaintext

////////////////////////////////////
//Created by Genisys / Guile 6/14/08
////////////////////////////////////
/*
script name: gen_invalid
This is a starting conditional for
the NPC Conversation gen_conv.
*/
////////////////////////////////////
int StartingConditional()
{
string sName = GetLocalString(OBJECT_SELF, "NN");
// Check if the name is valid
return (sName == "" || GetStringLength(sName) > 500);
}