Further file organization
Further file organization
This commit is contained in:
12
nwn/nwnprc/trunk/spells/sp_daylightB.nss
Normal file
12
nwn/nwnprc/trunk/spells/sp_daylightB.nss
Normal file
@@ -0,0 +1,12 @@
|
||||
///////////////////////////////////////////////////////
|
||||
// Daylignt On Exit
|
||||
// sp_daylightB.nss
|
||||
///////////////////////////////////////////////////////
|
||||
|
||||
void main()
|
||||
{
|
||||
object oTarget = GetExitingObject();
|
||||
int nLight = GetLocalInt(oTarget, "PRCInLight");
|
||||
nLight--;
|
||||
SetLocalInt(oTarget, "PRCInLight", nLight);
|
||||
}
|
Reference in New Issue
Block a user