Jump to content

Recommended Posts

Posted

In the mod I'm making now, I want to be able to script the giving of an item upon using a item of that same kind. Essentially creating an endless loop of items. Use Item "A", give Item "A". That way at any point and time you will only have 1 of these items in your inventory, but can essentially use that item endlessly. Any help would be appreciated! :laugh: feel free to ask any questions for clarification! :smile:

Posted

begin onload

If Player.GetItemCount Caps001 == 0  Player.AddItem Caps001 100EndIf

use this as reference

 

I actually added the simple script I wrote

scn MyScript

Begin ScriptEffectStart
       additem "Item I Used" 1 1
End 

To a base effect, then added that effect to the item I mentioned previously. So Every time you consumed the item, the effects ran. One of the effects was my replenish script, so in eating the item, you also replenished it.

  • Recently Browsing   0 members

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