Thread: Help
View Single Post
  #1  
Old 03-05-2007, 06:24 AM
MrAnonymous_P2P MrAnonymous_P2P is offline
Retired Oldbie
MrAnonymous_P2P's Avatar
Join Date: Oct 2006
Location: Cambodia
Posts: 722
MrAnonymous_P2P is an unknown quantity at this point
Help

Hey,

Im looking for some help in GS1 scripting, I know most people dont want it on on there servers, but Ive heard from friends that it helps with GS2, so my problem is I am confused on how flags and strings work. For my little starting out project, I have a simple command:

// NPC made by TheFox
if (created) {

showcharacter;
setcharprop #3,head0.png;
setcharprop #C0,orange;
setcharprop #C1,white;
setcharprop #C2,blue;
setcharprop #C3,red;
setcharprop #C4,black;
setcharprop #2,shield1.gif;
shieldpower = 1;
dir = 2;
}
if (playertouchsme) {move 26.5,-4,10,0;

freezeplayer 10;

sleep 10;

}


//The NPC player moves to the specified spot in the level(Which is on top of a pillar) and there is a second npc that moves to another pillar. When both npcs are on top of the pillars I want a door to open, How should I accomplish this?

(If it has nothing to do with strings or flags can someone please still explain them)
Reply With Quote