PoA_PRC8/_module/nss/gen_invalid.nss

20 lines
424 B
Plaintext
Raw Normal View History

2022-10-07 14:20:31 -04:00
////////////////////////////////////
//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) > 28);
}