Hi,
This first script kills any creatures you attach it to when the time of day
is between 6am and 6pm.
NWScript:
void main()
{
int HourOfDay;
HourOfDay = GetTimeHour();
if(HourOfDay >= 6 && HourOfDay <= 18)
{
DestroyObject(OBJECT_SELF,0.0);
}
}
This second script will not allow certain encounters to spawn if the time of
day is between 6am and 6pm.
NWScript:
void main()
{
int HourOfDay;
HourOfDay = GetTimeHour();
if(HourOfDay >= 6 && HourOfDay <= 18)
{
SetEncounterActive(FALSE,OBJECT_SELF);
}
}
_________________
Get in there you big furry oaf, I don't care WHAT you smell!
|