
07-16-2001, 12:54 AM
|
|
Mr. Imsoright
|
 |
Join Date: Apr 2001
Location: West PA
Posts: 3,742
|
|
Slave NPC
|
I want to make Slave NPC for a playerworld Im working on, but since I cant script that good I cant do it. the slave is going to essentially be an NPC bomy, except you can program it to do things like:
Guard(I would would walk in circles around you and attack anything that comes in the circle)
goto 'placename'(he would walk to a place specified by you) setplace 'name(your current location is specified as the place) whenfinishedsay 'phrase'(slave will say this when he finishes his task)
showtag 'slavename' (This will tell you the tag number of the Slave who's name you said)
setname 'tagnumber' 'name' (the slave's name will start out as tag number and you can change it using this)
'tagnumber' to 'accountname' (this will sell the slave to the account name of the player you are selling it to)
freeslave 'tagnumber' (frees the slave)
showowner 'tagnumber'
followme 'tagnumber'
I also need a Slaver NPCW, that looks like a net, but when it hits an a Free Slave NPC it turns it into the slave of who ever caught it, and if its used on a Show Character NPC it turns it into a slave and sets its tag number to a random 5 digit number, i.e. 87676, and make it so a slave has a unique number so slaves cant have the same number.
make it so only the owner can do certain commands, and all other players can do is showtag and showowner. |
__________________
-Sisok?
"A singer can shatter a glass with the proper high note,
but the simplest way for anyone to break a glass is simply to drop it on the floor."-Marius
|
|
|
|