Initial commit. Updated release archive.
This commit is contained in:
16
_module/nss/sc_wizteleport.nss
Normal file
16
_module/nss/sc_wizteleport.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
|
||||
// gets area staff is used in, and checks if it's outdoors. If not, aborts.
|
||||
|
||||
object oArea = GetArea(OBJECT_SELF);
|
||||
|
||||
|
||||
|
||||
if (GetIsAreaInterior(oArea) == TRUE)
|
||||
return TRUE;
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
Reference in New Issue
Block a user