Quote:
Originally Posted by Skrobo2
People are probably going to get mad at me or something  , but I'd like a commands.rtf for GS2. That would be much better than going to the wiki all the time. :]
|
Quote:
Originally Posted by ApothiX
Run graal4 with the command line option "-listscriptfunctions" and open the file it generates.
|
Sad, I've already said that in
this thread.
Quote:
Originally Posted by Angel_Light
I have a idea to add to the new engine.
function onPlayerkills() {
if (params[0]=="AccountName") {
blah();
player.chat = "You killed" SPC player.killed;
}
else if (params[1]=="NPC or Player var") {
blah();
}
}
for the default system hitpoint sys and it would see if the playerkilled someone or a NPC. it should also hold who got killed for awhile 
|
This is a documentation request thread, not a suggestion thread.
Quote:
Originally Posted by Prozac
Thank you for the links. Interesting that the weapons have only one .attribute that can be checked.
I request a doumentation format that is less like the wikipedia format, and more like ace's scripting guide - which i found here
http://web.archive.org/web/*/http://.../commands.html
(the december version worked ok but some of the images are missing)
but keep the search feature-
still, the outline and left frame nav, right frame content, was the most user friendly way to look up information that i have encountered for gscript.
In fact, much of what is in ace's scripting guide covers a lot of concept that would just need the gs2 version, and it could be come a more user friendly documentation than the list o' commands, with little to no expliation of how to actually implement the given commands in any kind of context, that much of the wiki is.
ace's explinations and how he displayed the information + gs2 + a search option = a helpful guide.
Also, why is the letter T before stuff like Graalvar? and Why make a page called tgraalvar when graalvar is not a variable that you will need to use when making any kind of weapon, system, display or anything in-game? just seems like unnecesary overcomplicaiton. that's my 2 cents.
|
TServerWeapon only has one attribute because it is derived from TServerNPC, hence the reason I linked you to that too. 'T' is a common prefix for denoting objects, it is good practice to use it so that the programmer/scripter can easily know what the datatype/variable represents without having to search for the declaration in the source code.