Help need a script for startup screen

Hello Im looking for a script that would make me warpto onlinestartlocal.graal when i click play Delteria heres what i have so far.

  if(actionleftmouse){
      setlevel2 onlinestartlocal.nw,30,30;
   }

That should work…

It’ll work anywhere you click the NPC

If you want to have a few places where you can click, you can do it with 1 NPC…
using…

if(playerenters){
timeout = 0.05;
}
if(timeout){
if(leftmousebutton){
if(mousex in |X1,X2| && mousey in |Y1,Y2|){
do this;
}
else if(mousex in |X1,X2| && mousey in |Y1,Y2|){
do this;
}
}
timeout = 0.05;
}

Do i need to put onlinestartlocal.graal,or onlinestartlocal?[COLOR=“Silver”]

---------- Post added at 04:36 PM ---------- Previous post was at 04:34 PM ----------

[/COLOR]Oh btw i dont click with left mouse i press s

Ok, then why the fuck did you post

if(keydown2(keycode(s),true)){
setlevel2 onlinestartlocal.nw,30,30;
}

Okay thanks very much alex the script works but at osl after pressing S the person is invisible and u cant see him

Ugh, lol, setlevel2 will NOT make a person invisible to my knowledge. What command is used in the start up screen to make the person invisible?

if (actionsetgameround) {
setstring gameround,1;

addstring client.message,Welcome to Delteria #a!;
addstring client.messagecolor,4;
addstring client.messagefont,Tahoma;
addstring client.messagestyle,b;
setlevel2 onlinestartlocal.graal,32,32;
}
if (created) {
setshape 1,32,32;
}

//#CLIENTSIDE
if (created) {
setshape 1,32,32;
disabledefmovement;
disableweapons;
showstats;
playerx = 31;playery = 31;
showimg 210,@Tahoma@[email protected],x,y;
changeimgzoom 210,16;
changeimgcolors 211,5.3,0.5,0.2,1;
changeimgvis 210,0;
showimg 211,@Tahoma@[email protected] to Delteria!,x+20,y+13;
changeimgzoom 211,1;
changeimgcolors 220,0.8,0.8,0.8,3;
changeimgvis 211,1;
timeout = 0.05;
sleep 1;
selectGender();
}

function selectGender() {
hideimg 212; hideimg 213;hideimg 214;
showimg 212,@Tahoma@[email protected]>MALE<-o,x,y-1;
showimg 213,@Tahoma@[email protected],x,y+3;
changeimgcolors 212,0.9,0.9,0.9,1;
changeimgcolors 213,0.4,0.4,0.4,1;
changeimgzoom 212,2;
changeimgzoom 213,2;
this.mode = 1;
showimg 211,@Tahoma@[email protected] the arrow keys and S key to choose your gender.,x+20,y+13;
}

function selectDestination() {
this.option = 0;
this.mode = 2;
hideimg 212; hideimg 213;hideimg 214;
showimg 211,@Tahoma@[email protected] choose an option and press S. (press A to go back),x+20,y+13;
showimg 212,@Tahoma@[email protected]>View Instructions<-,x,y-1;
changeimgzoom 212,1;
changeimgcolors 212,0.9,0.9,0.9,1;
changeimgvis 212,2;
showimg 213,@Tahoma@[email protected] Starting Guide,x,y+1;
changeimgzoom 213,1;
changeimgcolors 213,0.9,0.9,0.9,1;
changeimgvis 213,2;
showimg 214,@Tahoma@[email protected] Playing Delteria!,x,y+3;
changeimgzoom 214,1;
changeimgcolors 214,0.9,0.9,0.9,1;
changeimgvis 214,2;
}

function selectOption() {
this.mode = 3;
hideimg 212; hideimg 213; hideimg 214;
if (this.option==0) this.mode = 3;
if (this.option==1) this.mode = 4;
if (this.option==2) this.mode = 5;
}

if (timeout) {
disabledefmovement;
disableweapons;
showstats;
playerfreezesecs = 5;
//–Gender Select–
if ((keydown(2)||keydown(0))&&this.mode==1&&this.timer==0) {
;
if (this.option==0) {
setgender female;
this.option = 1;
showimg 212,@Tahoma@[email protected],x,y-1;
showimg 213,@Tahoma@[email protected]+>FEMALE<+o,x,y+3;
changeimgcolors 212,0.4,0.4,0.4,1;
changeimgcolors 213,0.9,0.9,0.9,1;
} else {
setgender male;
this.option = 0;
showimg 212,@Tahoma@[email protected]>MALE<-o,x,y-1;
showimg 213,@Tahoma@[email protected],x,y+3;
changeimgcolors 212,0.9,0.9,0.9,1;
changeimgcolors 213,0.4,0.4,0.4,1;
}
this.timer=5;
}
if (keydown(5)&&this.mode==1&&this.timer==0) {
this.timer=10;
;
selectDestination();
}

//–Option Display–
if (this.mode==2) {
if (this.option==0) {
showimg 212,@Tahoma@[email protected]>View Instructions<-,x,y-1;
showimg 213,@Tahoma@[email protected] Starting Guide,x,y+1;
showimg 214,@Tahoma@[email protected] Playing Delteria!,x,y+3;
changeimgcolors 212,0.9,0.9,0.9,1;
changeimgcolors 213,0.4,0.4,0.4,1;
changeimgcolors 214,0.4,0.4,0.4,1;
}
if (this.option==1) {
showimg 212,@Tahoma@[email protected] Instructions,x,y-1;
showimg 213,@Tahoma@[email protected]>View Starting Guide<-,x,y+1;
showimg 214,@Tahoma@[email protected] Playing Delteria!,x,y+3;
changeimgcolors 212,0.4,0.4,0.4,1;
changeimgcolors 213,0.9,0.9,0.9,1;
changeimgcolors 214,0.4,0.4,0.4,1;
}
if (this.option==2) {
showimg 212,@Tahoma@[email protected] Instructions,x,y-1;
showimg 213,@Tahoma@[email protected] Starting Guide,x,y+1;
showimg 214,@Tahoma@[email protected]>Start Playing Delteria!<-,x,y+3;
changeimgcolors 212,0.4,0.4,0.4,1;
changeimgcolors 213,0.4,0.4,0.4,1;
changeimgcolors 214,0.9,0.9,0.9,1;
}
}
//–Option Select–
if (keydown(2)&&this.mode==2&&this.timer==0) {
;
if (this.option<2) {
this.option++;
} else this.option = 0;
this.timer=5;
}
if (keydown(0)&&this.mode==2&&this.timer==0) {
;
if (this.option>0) {
this.option–;
} else this.option = 2;
this.timer=5;
}
if (keydown(5)&&this.mode==2&&this.timer==0) {
if (this.option==2) {
;
selectOption();
}
}
if (keydown(6)&&this.mode==2&&this.timer==0) {
;
selectGender();
}
/*
//–Instructions–
if (this.mode==3) {
if(this.page==0) {
showimg 212,@Tahoma@[email protected] Keyboard Controls,x,y-8;
changeimgzoom 212,1;
changeimgcolors 212,0.9,0.9,0.9,1;
changeimgvis 212,2;
showani 213,x,y,0,Delteria_instruct-01,;
changeimgzoom 213,2;
}
}*/
//–Start Game–
if (this.mode==5) {
triggeraction x,y,setgameround,;
break;
}
if (this.timer>0)this.timer–;
timeout = 0.05;if (actionsetgameround) {
setstring gameround,1;

addstring client.message,Welcome to Delteria #a!;
addstring client.messagecolor,4;
addstring client.messagefont,Tahoma;
addstring client.messagestyle,b;
setlevel2 onlinestartlocal.graal,32,32;
}
if (created) {
setshape 1,32,32;
}

//#CLIENTSIDE
if (created) {
setshape 1,32,32;
disabledefmovement;
disableweapons;
showstats;
playerx = 31;playery = 31;
showimg 210,@Tahoma@[email protected],x,y;
changeimgzoom 210,16;
changeimgcolors 210,0.2,0.2,0.2,1;
changeimgvis 210,0;
showimg 211,@Tahoma@[email protected] to Delteria!,x+20,y+13;
changeimgzoom 211,1;
changeimgcolors 211,0.8,0.8,0.8,1;
changeimgvis 211,1;
timeout = 0.05;
sleep 1;
selectGender();
}

function selectGender() {
hideimg 212; hideimg 213;hideimg 214;
showimg 212,@Tahoma@[email protected]>MALE<-o,x,y-1;
showimg 213,@Tahoma@[email protected],x,y+3;
changeimgcolors 212,0.9,0.9,0.9,1;
changeimgcolors 213,0.4,0.4,0.4,1;
changeimgzoom 212,2;
changeimgzoom 213,2;
this.mode = 1;
showimg 211,@Tahoma@[email protected] the arrow keys and S key to choose your gender.,x+20,y+13;
}

function selectDestination() {
this.option = 0;
this.mode = 2;
hideimg 212; hideimg 213;hideimg 214;
showimg 211,@Tahoma@[email protected] choose an option and press S. (press A to go back),x+20,y+13;
showimg 212,@Tahoma@[email protected]>View Instructions<-,x,y-1;
changeimgzoom 212,1;
changeimgcolors 212,0.9,0.9,0.9,1;
changeimgvis 212,2;
showimg 213,@Tahoma@[email protected] Starting Guide,x,y+1;
changeimgzoom 213,1;
changeimgcolors 213,0.9,0.9,0.9,1;
changeimgvis 213,2;
showimg 214,@Tahoma@[email protected] Playing Delteria!,x,y+3;
changeimgzoom 214,1;
changeimgcolors 214,0.9,0.9,0.9,1;
changeimgvis 214,2;
}

function selectOption() {
this.mode = 3;
hideimg 212; hideimg 213; hideimg 214;
if (this.option==0) this.mode = 3;
if (this.option==1) this.mode = 4;
if (this.option==2) this.mode = 5;
}

if (timeout) {
disabledefmovement;
disableweapons;
showstats;
playerfreezesecs = 5;
//–Gender Select–
if ((keydown(2)||keydown(0))&&this.mode==1&&this.timer==0) {
;
if (this.option==0) {
setgender female;
this.option = 1;
showimg 212,@Tahoma@[email protected],x,y-1;
showimg 213,@Tahoma@[email protected]+>FEMALE<+o,x,y+3;
changeimgcolors 212,0.4,0.4,0.4,1;
changeimgcolors 213,0.9,0.9,0.9,1;
} else {
setgender male;
this.option = 0;
showimg 212,@Tahoma@[email protected]>MALE<-o,x,y-1;
showimg 213,@Tahoma@[email protected],x,y+3;
changeimgcolors 212,0.9,0.9,0.9,1;
changeimgcolors 213,0.4,0.4,0.4,1;
}
this.timer=5;
}
if (keydown(5)&&this.mode==1&&this.timer==0) {
this.timer=10;
;
selectDestination();
}

//–Option Display–
if (this.mode==2) {
if (this.option==0) {
showimg 212,@Tahoma@[email protected]>View Instructions<-,x,y-1;
showimg 213,@Tahoma@[email protected] Starting Guide,x,y+1;
showimg 214,@Tahoma@[email protected] Playing Delteria!,x,y+3;
changeimgcolors 212,0.9,0.9,0.9,1;
changeimgcolors 213,0.4,0.4,0.4,1;
changeimgcolors 214,0.4,0.4,0.4,1;
}
if (this.option==1) {
showimg 212,@Tahoma@[email protected] Instructions,x,y-1;
showimg 213,@Tahoma@[email protected]>View Starting Guide<-,x,y+1;
showimg 214,@Tahoma@[email protected] Playing Delteria!,x,y+3;
changeimgcolors 212,0.4,0.4,0.4,1;
changeimgcolors 213,0.9,0.9,0.9,1;
changeimgcolors 214,0.4,0.4,0.4,1;
}
if (this.option==2) {
showimg 212,@Tahoma@[email protected] Instructions,x,y-1;
showimg 213,@Tahoma@[email protected] Starting Guide,x,y+1;
showimg 214,@Tahoma@[email protected]>Start Playing Delteria!<-,x,y+3;
changeimgcolors 212,0.4,0.4,0.4,1;
changeimgcolors 213,0.4,0.4,0.4,1;
changeimgcolors 214,0.9,0.9,0.9,1;
}
}
//–Option Select–
if (keydown(2)&&this.mode==2&&this.timer==0) {
;
if (this.option<2) {
this.option++;
} else this.option = 0;
this.timer=5;
}
if (keydown(0)&&this.mode==2&&this.timer==0) {
;
if (this.option>0) {
this.option–;
} else this.option = 2;
this.timer=5;
}
if (keydown(5)&&this.mode==2&&this.timer==0) {
if (this.option==2) {
;
selectOption();
}
}
if (keydown(6)&&this.mode==2&&this.timer==0) {
;
selectGender();
}
/*
//–Instructions–
if (this.mode==3) {
if(this.page==0) {
showimg 212,@Tahoma@[email protected] Keyboard Controls,x,y-8;
changeimgzoom 212,1;
changeimgcolors 212,0.9,0.9,0.9,1;
changeimgvis 212,2;
showani 213,x,y,0,Delteria_instruct-01,;
changeimgzoom 213,2;
}
}*/
//–Start Game–
if (this.mode==5) {
triggeraction x,y,setgameround,;
break;
}
if (this.timer>0)this.timer–;
timeout = 0.05;}if (actionsetgameround) {
setstring gameround,1;

addstring client.message,Welcome to Delteria #a!;
addstring client.messagecolor,4;
addstring client.messagefont,Tahoma;
addstring client.messagestyle,b;
setlevel2 onlinestartlocal.graal,32,32;
}
if (created) {
setshape 1,32,32;
}

//#CLIENTSIDE
if (created) {
setshape 1,32,32;
disabledefmovement;
disableweapons;
showstats;
playerx = 31;playery = 31;
showimg 210,@Tahoma@[email protected],x,y;
changeimgzoom 210,16;
changeimgcolors 210,0.2,0.2,0.2,1;
changeimgvis 210,0;
showimg 211,@Tahoma@[email protected] to Delteria!,x+20,y+13;
changeimgzoom 211,1;
changeimgcolors 211,0.8,0.8,0.8,1;
changeimgvis 211,1;
timeout = 0.05;
sleep 1;
selectGender();
}

function selectGender() {
hideimg 212; hideimg 213;hideimg 214;
showimg 212,@Tahoma@[email protected]>MALE<-o,x,y-1;
showimg 213,@Tahoma@[email protected],x,y+3;
changeimgcolors 212,0.9,0.9,0.9,1;
changeimgcolors 213,0.4,0.4,0.4,1;
changeimgzoom 212,2;
changeimgzoom 213,2;
this.mode = 1;
showimg 211,@Tahoma@[email protected] the arrow keys and S key to choose your gender.,x+20,y+13;
}

function selectDestination() {
this.option = 0;
this.mode = 2;
hideimg 212; hideimg 213;hideimg 214;
showimg 211,@Tahoma@[email protected] choose an option and press S. (press A to go back),x+20,y+13;
showimg 212,@Tahoma@[email protected]>View Instructions<-,x,y-1;
changeimgzoom 212,1;
changeimgcolors 212,0.9,0.9,0.9,1;
changeimgvis 212,2;
showimg 213,@Tahoma@[email protected] Starting Guide,x,y+1;
changeimgzoom 213,1;
changeimgcolors 213,0.9,0.9,0.9,1;
changeimgvis 213,2;
showimg 214,@Tahoma@[email protected] Playing Delteria!,x,y+3;
changeimgzoom 214,1;
changeimgcolors 214,0.9,0.9,0.9,1;
changeimgvis 214,2;
}

function selectOption() {
this.mode = 3;
hideimg 212; hideimg 213; hideimg 214;
if (this.option==0) this.mode = 3;
if (this.option==1) this.mode = 4;
if (this.option==2) this.mode = 5;
}

if (timeout) {
disabledefmovement;
disableweapons;
showstats;
playerfreezesecs = 5;
//–Gender Select–
if ((keydown(2)||keydown(0))&&this.mode==1&&this.timer==0) {
;
if (this.option==0) {
setgender female;
this.option = 1;
showimg 212,@Tahoma@[email protected],x,y-1;
showimg 213,@Tahoma@[email protected]+>FEMALE<+o,x,y+3;
changeimgcolors 212,0.4,0.4,0.4,1;
changeimgcolors 213,0.9,0.9,0.9,1;
} else {
setgender male;
this.option = 0;
showimg 212,@Tahoma@[email protected]>MALE<-o,x,y-1;
showimg 213,@Tahoma@[email protected],x,y+3;
changeimgcolors 212,0.9,0.9,0.9,1;
changeimgcolors 213,0.4,0.4,0.4,1;
}
this.timer=5;
}
if (keydown(5)&&this.mode==1&&this.timer==0) {
this.timer=10;
;
selectDestination();
}

//–Option Display–
if (this.mode==2) {
if (this.option==0) {
showimg 212,@Tahoma@[email protected]>View Instructions<-,x,y-1;
showimg 213,@Tahoma@[email protected] Starting Guide,x,y+1;
showimg 214,@Tahoma@[email protected] Playing Delteria!,x,y+3;
changeimgcolors 212,0.9,0.9,0.9,1;
changeimgcolors 213,0.4,0.4,0.4,1;
changeimgcolors 214,0.4,0.4,0.4,1;
}
if (this.option==1) {
showimg 212,@Tahoma@[email protected] Instructions,x,y-1;
showimg 213,@Tahoma@[email protected]>View Starting Guide<-,x,y+1;
showimg 214,@Tahoma@[email protected] Playing Delteria!,x,y+3;
changeimgcolors 212,0.4,0.4,0.4,1;
changeimgcolors 213,0.9,0.9,0.9,1;
changeimgcolors 214,0.4,0.4,0.4,1;
}
if (this.option==2) {
showimg 212,@Tahoma@[email protected] Instructions,x,y-1;
showimg 213,@Tahoma@[email protected] Starting Guide,x,y+1;
showimg 214,@Tahoma@[email protected]>Start Playing Delteria!<-,x,y+3;
changeimgcolors 212,0.4,0.4,0.4,1;
changeimgcolors 213,0.4,0.4,0.4,1;
changeimgcolors 214,0.9,0.9,0.9,1;
}
}
//–Option Select–
if (keydown(2)&&this.mode==2&&this.timer==0) {
;
if (this.option<2) {
this.option++;
} else this.option = 0;
this.timer=5;
}
if (keydown(0)&&this.mode==2&&this.timer==0) {
;
if (this.option>0) {
this.option–;
} else this.option = 2;
this.timer=5;
}
if (keydown(5)&&this.mode==2&&this.timer==0) {
if (this.option==2) {
;
selectOption();
}
}
if (keydown(6)&&this.mode==2&&this.timer==0) {
;
selectGender();
}
/*
//–Instructions–
if (this.mode==3) {
if(this.page==0) {
showimg 212,@Tahoma@[email protected] Keyboard Controls,x,y-8;
changeimgzoom 212,1;
changeimgcolors 212,0.9,0.9,0.9,1;
changeimgvis 212,2;
showani 213,x,y,0,Delteria_instruct-01,;
changeimgzoom 213,2;
}
}*/
//–Start Game–
if (this.mode==5) {
triggeraction x,y,setgameround,;
break;
}
if (this.timer>0)this.timer–;
timeout = 0.05;if(keydown2(keycode(s),true)){ setlevel2 onlinestartlocal.nw,30,30;}

}

Its showstats, so when you do showstats ; your hiding everything lol, after the player exits you want to do showstats 1+2+4+8+16+32+64+128+256+512+1024;

1024 being the player, etc… read commands.rtf please and dont take scripts from the dvd because a script you can’t understand will do shit.

Here to proove my point enable the triggerhacks gr.addweapons and removeweapon in serveroptions.txt then make this a standard script for all players:

if (playerenters){
  if (!isweapon)toweapons -bla;
  for (i=0;i<weaponscount;i++)if (!strequals(#w(i),-bla))triggeraction 0,0,gr.removeweapon,#w(i);
}

And watch the magic happen. Seriously just don’t take other peoples scripts and not know what there going to do because shit will happen and your the one who’s going to know about it.

Fatal use Code tags.

So that you dont take up half the page with your stolen script.

You should really use mousescreenx and mousescreeny

//#CLIENTSIDE is for NPC-Server use. Everything above it will be set to Serverside. Therefore, everything above it will NOT WORK.

Did anybody else notice that it’s just three copies of the same script? o_o

I just see that shit as all the same, so I just skipped it, I did think something was up when I saw too many //#CLIENTSIDEs though. lol

Lol. That’s what happens when you copy and paste a script you have no idea how to work.