![]() |
Raelyn's Big Book of Scripting Questions.
Ok, because I am a newbie to GS2 scripting (and was never that good at GS1 either admittedly) and am genuinely trying to learn it, I know I am going to have a million questions, and I am already seeing myself making alot of threads, so rather than do that, I am going to compile all my questions into this thread, which should also make for a neat little resource for other new scripters. (I hope.)
Thank you all who have answered my questions so far, and thanks in advance to anyone else who does. I'm really glad to have a community of knowledgeable people to turn to. ^^ Ok, just for the purpose of converging all my questions here, for my own reference if for no other reason, I am going to add the questions and answers that I already asked! |
Question #1
Question #1:
"Ok, I have a weapon NPC on the server that has alot of chat commands etc, but currently I have to add it to people for them to have it, what is the easiest method to have the NPC server check and add it to anyone who doesn't have it when they log on?" Answer #1: Quote:
|
Question #2
Question #2:
What is the GS2 equivalent of the lay and lay2 commands? Answer #2: Quote:
|
Question #3
Question #3:
I have a script for setani in GS1, how would I setani in GS2? Answer #3: Quote:
|
Question #4
Question #4:
Where can I get the commands.rtf for GS2? I only have the GS1 commands... Answer #4: Quote:
|
Question #5
Question #5:
I have seen on my friend's server some of his weapons have '-' in front of them such as '-System' and '-Admin'. What is the significance of the '-' in front of the weapon name, if any? Answer #5: Quote:
|
It's better to organize, however if you're using the default Graal inventory, adding the '-' in front of the weapon name won't show that weapon in the inventory.
|
Question #6
Question #6
Schetti suggested naming for instance staff boots as '-System/Boots' however when I tried this, the RC produced an error. Quote:
Answer #6 Quote:
|
Quote:
|
Quote:
|
Quote:
Uh, seems to me like if you have access to a folder, you would have access to all sub-folders by default, no? |
Quote:
PHP Code:
|
Question #7
I have several NPCs with the following script. PHP Code:
|
Quote:
|
Quote:
PHP Code:
|
All times are GMT +2. The time now is 07:25 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.