generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit.
This commit is contained in:
12
_module/nss/dm_sm_check8a.nss
Normal file
12
_module/nss/dm_sm_check8a.nss
Normal file
@@ -0,0 +1,12 @@
|
||||
int StartingConditional()
|
||||
{
|
||||
int iResult;
|
||||
object oWidget = GetLocalObject(OBJECT_SELF, "DM_SM_oWidget");
|
||||
object oPlaceable = GetLocalObject(OBJECT_SELF, "DM_SM_oPlaceable8");
|
||||
|
||||
string sPropList = GetLocalString(oWidget, "sPropList");
|
||||
int iHaveThisProp = TestStringAgainstPattern("**." + ObjectToString(oPlaceable) + ".**", sPropList);
|
||||
|
||||
iResult = (!iHaveThisProp) && (oPlaceable != OBJECT_INVALID);
|
||||
return iResult;
|
||||
}
|
||||
Reference in New Issue
Block a user