![]() |
commads!
any one know where i could get a list of all the p2p scripting commands so i can get better npcs for my server
|
Here are most of the commands that work for the NPC server, but not on a free playerworld. I think i'm missing a few commands, so post any more commands if you know them =P
* setshape * setshape2 * canwarp * canwarp2 * with(players[i]) * with(getplayer(account)) * with(npcs[i]) * with(getnpcs(name)) * join * warpto * freezeplayer2 * unfreezeplayer * noplayeronwall * cannotwarp * addweapon * removeweapon * addtiledef * addtiledef2 * removetiledefs * attachplayertoobj * detachplayer * addguildmember * deleteguildmember * deleteguild |
Quote:
|
I'm pretty sure setshape and setshape2 are allowed on free servers.
|
har har!
yeah,
setshape and setshape2 work on non-p2p and also...lol changeimgcolors works... --PastAustin |
lol...
i am just curious...does anyone know why changeimgcolors works on non-p2p? i have only tested it with text...
|
Quote:
that would attach the player to the npc (which means if the npc moves the player follows like it's stuck to it) you just use detachplayer; to detach them.. Check out the platform lifts near mining town and bogenera that lift you up the cliffs. They use attachplayertoobj ;) |
Re: lol...
Quote:
|
no1 gives tehm out its only a few words for god sacks come on spill the beans people.
|
is there any onwe here that cold give me a ex. of each of the commands listed above??
:confused: |
sure...
i am at school, so if i don't finish this, i will finish it when i am at home...
* setshape type,width,height; NPC Code: * setshape2 width,height,{type} NPC Code: * canwarp - lets the npc leave the level, works only for database npcs. NPC Code: * canwarp2 - let someone else help on this, i am not sure weather canwarp or canwarp2 is the one that finds all logical links... NPC Code: * with(players[i]) - allows you to get and set a player's attributes and set flags for them. Using the player's server index? or level index? i am not sure NPC Code: * with(getplayer(account)) - allows you to get and set a players attributes as long as the player is online, using accountname. NPC Code: * with(npcs[i]) - dunno * with(getnpcs(name)) - dunno * join - allows you to add a script into a script Script NPC Code: code.txt NPC Code: is equal to Script NPC Code: * warpto - moves the npc to a level, must be a database npc, i do not know the arguments to this so i won't try... * freezeplayer2 - I believe this is like disabledefmovement, and its useful with the with() command. * unfreezeplayer NPC Code: * noplayeronwall - stops the onwall() detection from players being an onwall... NPC Code: * cannotwarp - stops the database npc from moving levels. NPC Code: * addweapon - adds a weapon from the database. NPC Code: * removeweapon - rempves a weapon from the player's npc list... NPC Code: * addtiledef - hard to explain * addtiledef2 - harder to explain * removetiledefs - ... * attachplayertoobj type,id; - refer to earlier post... * detachplayer - takes the player off ot the attachment * addguildmember - i'll post about this later unless someone else does, i am not so sure about the arguments; * deleteguildmember - i'll post about this later unless someone else does, i am not so sure about the arguments; * deleteguild - i'll post about this later unless someone else does, i am not so sure about the arguments; there ye go, hope it helps... |
**** ya that helped now all i need to do it figure out the
addtiledef and addtiledef2 ^^^^^^^ could some one with plenty of time post how to do this exactly :) |
is getplayer p2p?
|
i dunno i jus need ta know things like that im no sure though
|
ohh, its not deleteguildmember, or deleteguild =P
its removeguild, and removeguildmember |
| All times are GMT +2. The time now is 06:50 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.