Jump to content

Recieve item on use of another?


masoncravens

Recommended Posts

I need a bit of help, im trying to get something to work a bit like the ammo use to casing thing where you get empty shells after shooting, but with other items,an example would be Med-x being used, then u get an empty syringe in return..how would i go about doing this?
Link to comment
Share on other sites

  1. Create a script that adds a syringe in a ScriptEffectStart block and save it as an effect type script.
  2. Create a base effect with the script archetype and attach the script to it. Check the Self, No Duration, No Magnitude, and No Area flags.
  3. Add a new effect item to the results list on the Med-X ingestible item that uses the scripted base effect you just created.

If you're still unsure how it works, look at how bottle caps are added to your inventory when drinking sodas for an example.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...