Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Server (https://forums.graalonline.com/forums/forumdisplay.php?f=14)
-   -   Putnpc2??? Helpplease (https://forums.graalonline.com/forums/showthread.php?t=4185)

TB3 06-06-2001 08:33 PM

Putnpc2??? Helpplease
 
Ok ill delete this when i get a response.
I just need to know how to use putnpc2 like its format and val...
such as onwall(x,y) so that i know how to work it
i need the same with onwall2 how is it used like its variables and format?
Example: setlevel2 x,y,levelname;
Just give me an example on how to use the command
and for putnpc2 where in the server should i put the script? in scripts folder or levels? Putnpc got it from levels so i dont know which for this one .... wow 50 posts.... . . ok thanks im sure kyle or ka.im..etsu co .. ould ans...wer... this.....quessss.....ti...on *passes out*

TB3 06-06-2001 08:46 PM

No no no no bad command bad bad command
 
No stefan posted that it was working a while ago but he didnt say how to work it its what he used in the items for trade item where u can drop items in inventory but he didnt explain how to work it and i need it for alot alot of stuff on faheria please help ! =P *passes out*:p

TB3 06-06-2001 08:56 PM

Gah im not an idiot im just sleepy
 
I know what it does it places an npc in the level or where ever it is the npcserver equivalent of the putnpc but i just need to know the valences in it like putnpc uses gif,txt,x,y i need to know what this uses in it O_o.


grim_squeaker_x 06-06-2001 09:00 PM

Well according to Graal the format should be:
putnpc2 filename,filename,real,real;
Or in other words, it uses the same format.

TB3 06-06-2001 09:04 PM

Hmmmmm
 
I tried that ill try it again hopefully i can get it to work O_o
I have many new things to add if it will work thanks =P
But i thought that it didnt include the image or something.
And i still need to know whether to put the txt script in the scripts folder or the level folder

Admins 06-11-2001 12:06 AM

I guess you already know now,
it is

NPC Code:

putnpc2 x,y, {
script
};



So you put the code inside the
command itself. If you want to make
an npc duplicating itself then you
will need to use join.
To give parameters to the new npcs,
do

NPC Code:

with (npcs[npcscount-1]) {
this.vars = ...
}



after you have used putnpc2

TB3 06-15-2001 06:15 AM

Thanks!
 
Ok now someone can delete this post if you want :D

Admins 06-16-2001 04:07 AM

Other people might to look at this,
or someone could make a summary
about things posted here

T-Squad 06-18-2001 10:06 PM

Hmmm...Stefan, as you know with Murasamune it uses many different weapons, but i'm looking for a good way to use weapon changing...i've already made a version where you need all the weapon NPCs, but I have a hthing with putting tons of unneccessary NPCs in inventory....with putnpc2, are you able to script a completely new NPC within a NPC and make it go toweapons? (please say yes...please say yes..... *repeats many times*)

Falcor 06-18-2001 11:01 PM

Kai
 
Its VERY usefull script... You can change its params with triggeraction also.. (I did that on one of my projects) And its owkring fine... Although canwarp dont work on my NPC for somereason.. Even though he is facing the warp.. (He uses move)

T-Squad 06-18-2001 11:39 PM

well the reason i need is so i dont need to give the player 15 weapons hidden weapons...but I think putnpc (thats what its called right?) would be better, because it doesnt combine with the current script (at least I think....) im not really sure..I can really only try this stuff with putnpc and such when Murasamune is up...
Oh and kai, it is pretty useful...it isnt combining NPCs, I think, its 2 seperate NPCs (I think and I hope) which would let you do many things....instead of me putting in NPCs like -swallow or -axe with every type of weapon, instead I could use putnpc2 and give a central -weapon NPC that can be change with the variables i set when putting the NPC......that is it putnpc2 works the way i hope it does....
roflol i wrote this much for a simple point...i gotto get out of this habbit....

T-Squad 06-19-2001 10:13 PM

woah thats not good....whats this join thing? kyle0654 was telling me how "powerful" NPC Server and join is, but i didnt really understand....probably cause ive never used NPC Control >.< bah im gonna figure this all out in the future....

T-Squad 06-19-2001 11:31 PM

hmmm....well i guess i can only learn about it when my server goes up...


All times are GMT +2. The time now is 09:38 AM.

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