View Single Post
  #32  
Old 09-22-2001, 07:41 PM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Re: ack !!!

Quote:
Originally posted by nyghtGT
to make something happen at a specific time just do .....

if (playerenters) {toweapons *Time}
if (isweapon||timeout) {timeout=.05;
this.minute = int(timevar / .2)%60;
this.hour = int(this.minute / 60)%24;
this.day = int(this.hour / 24)%30;
this.month = int(this.day / 30)%12;
this.year = int(this.month / 12)}
if (weaponfired) {setstring year,#v(this.year);
setstring month,#v(this.month);
setstring day,#v(this.day);
setstring hour,#v(this.hour);
setstring minute,#v(this.minute);
setstring minute,#v(this.minute);
say2 Graalian Rebel Time#b
Time: #s(hour):#s(minute)#s(minute)#b
Date: #s(month)/#s(day)/#s(year)}
if (#v(this.day=25) && #v(this.month=25)) {
say2 Merry Christmas !!!;}

I aint the great scripter but tha will work ....
I would first personally replace the

setstring day,#v(this.day)

and stuff like that with
local.day=this.day;
or like
level.day=this.day;
you dont have to use strings...

and that way you can even make it shorter w/o setting this.day

just set it directly to like

local.day
or
level.day
__________________
Thanks,
-KJL
Reply With Quote