Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > Old Scripting Engine (GS1)
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:53 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.