generated from Jaysyn/ModuleTemplate
Merged redundant hak files
Merged redundant hak files. Moved hak scripts into module. Updated gitignore. Full Compile. Added release folder & archive.
This commit is contained in:
15
_mod/_module/nss/npcact_cms_tmrg.nss
Normal file
15
_mod/_module/nss/npcact_cms_tmrg.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
// npcact_cms_tmrg
|
||||
int StartingConditional()
|
||||
{
|
||||
object oPC=GetPCSpeaker();
|
||||
object oItem=GetLocalObject(oPC,"oCMSItem");
|
||||
object oTarget=GetLocalObject(oPC,"oCMSTarget");
|
||||
if (GetObjectType(oTarget)==OBJECT_TYPE_ITEM)
|
||||
{ // test 1
|
||||
if (GetResRef(oItem)==GetResRef(oTarget)&&GetTag(oItem)==GetTag(oTarget))
|
||||
{ // test 2
|
||||
if (oItem!=oTarget) return TRUE;
|
||||
} // test 2
|
||||
} // test 1
|
||||
return FALSE;
|
||||
}
|
||||
Reference in New Issue
Block a user