![]() |
Undocumented Commands
Stefan. I found some undocumented commands that aren't explained anywhere. The first one I can think of at the top of my head is onwall2 and onwater2 (?). What are those and how are they used? Also, if you create an NPC that has:
if (playertouchsme) { toweapons /Test; } You can touch it many times and each time you will get the Weapon named Test. Is that supposed to happen, or is that a bug? Thanks. -Boco |
i think that the undocummented commands only work with .nw levels like those on G2K1 and since they are undocummented it means Stefan doesnt want them revealed or something like that
|
That's nothing.
Try putting this as your script: NPC Code: Last I checked, it was still undocumented. How did I find this (and some other) commands? I opened Graal with Notepad. It has every command and built-in flag in there. You'll even find the bomb/bow script in there. |
i did the same ; ) and anyways.. they arent such powerful commands, spyfire is great though =)
|
I think spyfire was mentioned in the
newfeaturesxxx.txt somewhere onwall2 and onwater2 are like onwall/onwater, but for a rectangle |
spyfire is not supported on the npcserver yet,
but it will be easy to add it |
and could you read my thread on the NPC Scripting forum? its about a problem im having with a showimg npc
|
Dont help much hehe
It would realy be helpfull if u listed the commands and such like
onwall(x,y,width,height) or whatever they were supposed to be so that i wouldnt have to test this stuff so much I myself dont have that much time on graal no more and a list of new commands such as putnpc2 ect and their val and format would be great thanx |
You don't have the npcserverdoc.txt?
It doesn't describe putnpc2 and timevar2 yet but everything else should be somehow explained |
spi fire lol
i remeber last year me and kjl were looking through graal.exe and found that command alonge w/ other ones that we didnt understand
|
Quote:
btw. does setfocus/resetfocus do anything or will It do anything in the future? |
Quote:
|
Quote:
|
I tried toweapons Bombs/Megabombs, Its not working
|
Hmm. Old thread. But...
toweapons /Megabombs; If you keep on getting the weapon, you will get multiple of it |
we all know that, thanks boco, your a genius
|
Quote:
it's: spyfire length, type; if type is 3, it'll be a jolt bomb style fire. |
...
I never played with that... |
| All times are GMT +2. The time now is 03:11 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.