Script to spawn an item dependent on amount of another item?

Post » Thu Jun 21, 2012 8:22 pm

Hello,

I am adding Easter eggs to my level. These Easter eggs can be collected throughout my dungeon and eventually, the player can stuff all of these items into a chest. This chest will then spawn a special item, such as a sword etc.

(still haven't a clue what it should be as of yet)

Where would I even start with this complex script? I am very new to scripting and any help would be greatly appreciated.

Thank you :biggrin:
User avatar
Peetay
 
Posts: 3303
Joined: Sun Jul 22, 2007 10:33 am

Post » Thu Jun 21, 2012 12:35 pm

Equip an alias on the player. The alias must contain a script with an onitemadded event (better with a filter), in the event you check the number of items of that kind in the player inventory and if the number is reached, make the chest appear.
User avatar
Life long Observer
 
Posts: 3476
Joined: Fri Sep 08, 2006 7:07 pm


Return to V - Skyrim

cron