Making a method need help


[ Follow Ups ] [ Post Followup ] [ Awesome Software Online Message Board ] [ FAQ ]

Posted by Toru Donu 206.186.180.25 using Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt) on April 23, 2000 at 18:54:12:

I am trying to make a method which reads an itemfilename that is equiped on body location 7 of the first player, I've typed it something like this but.....

:#Method GetItem(playerHandle[0]$, body_location!, item_filename$)

The trick is that I want to be able to read what the filename on bodylocation "7", for example:
I have sword.itm equiped on body location "7" of the first player then , if body location has sword.itm in it the the next command will follow but I cant seem to get it to work.

Plz help me if you can

The end reslut will be
#If (itemfilename="sword.itm")
{
#RemovePlayer (playerHandle[0]$)
#RestorePlayer ("sword.tem")
}

thats right restore sword.tem dont ask questions the sword can become a character that can come in and out in the middle of battle but only as long as it is equipped in body location "7" on the first player



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Awesome Software Online Message Board ] [ FAQ ]