Initial commit
Initial commit.
This commit is contained in:
20
_module/nss/chk_sm_rc_cls.nss
Normal file
20
_module/nss/chk_sm_rc_cls.nss
Normal file
@@ -0,0 +1,20 @@
|
||||
/* Script generated by
|
||||
Lilac Soul's NWN Script Generator, v. 2.1
|
||||
|
||||
For download info, please visit:
|
||||
http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
int iMyrace = GetRacialType(OBJECT_SELF);
|
||||
int iYerrace = GetRacialType(oPC);
|
||||
int iMyclass = GetClassByPosition(1,OBJECT_SELF);
|
||||
int iYerclass = GetClassByPosition(1,oPC);
|
||||
|
||||
|
||||
if (iMyrace == iYerrace || iMyclass == iYerclass) return TRUE;
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user