Aller au contenu

Photo

Killing vampires


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
Psyammy

Psyammy
  • Members
  • 45 messages
i hope someone can help me out with this, i need a script that will create an item in the inventorry of a placeable, i would like the item to be there everytime it is opened. what i am am doing is putting a corpes on the floor and i would like a stake in it's inventory that you will use to kill a vampire. (yeah, you guessed it i pinched the vampire from hords) but i would like the stake to be here everytime it is opened.
thank you all for the help.
Psyammy

#2
One Thousand Talons Mao Ra

One Thousand Talons Mao Ra
  • Members
  • 40 messages
I don't know how the new boards work so this won't be in a fancy script box but...

void main()
{
CreateItemOnObject("resrefofwoodenstakegoeshere", OBJECT_SELF);
}

Put that on the OnOpen event of the corpse. Make sure the Has Inventory box is checked. Make the corpse plot, too.

#3
Psyammy

Psyammy
  • Members
  • 45 messages
thank you very much, it works great!

Psyammy