![]() |
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) |
HTML Code:
if (playertouchsme) { You'd then add this in to the other NPC HTML Code:
if (created){ |
http://wiki.graal.us/GScript, scroll down to the bottom Fox and read the translation, learn GS2, Yes GS1 and GS2 are similar but it's like c and C++, Yes C++ will read C but there some weird things that happen when you use C in C++, some scripts wont behave right or unwanted results will happen, Learn GS2, and quit leaving GS1 scripts all over Niromia, keep in a test room. :]
|
Quote:
|
I was using a metaphor skyld and isnt GS1 derived from torque, C, and C# or something? I also figured that GS2 was an extension since it could still mostly read GS1, oh well, my bad.
|
Analogies are interperative, so neither of you are wrong or right. YAY!
|
Im going to continue learning gs1 since it works in editor and when the v.2 editor comes out(Omega ;D ) then Ill start learning gs2
|
Quote:
|
Quote:
|
Quote:
I meant that we might never see a GS2 editor. |
Quote:
|
Quote:
|
All times are GMT +2. The time now is 03:07 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.