Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-16-2001, 12:54 AM
Rekad Rekad is offline
Mr. Imsoright
Rekad's Avatar
Join Date: Apr 2001
Location: West PA
Posts: 3,742
Rekad is on a distinguished road
Send a message via ICQ to Rekad Send a message via AIM to Rekad Send a message via Yahoo to Rekad
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
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:28 PM.


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