How to Activate a Misc item?

Post » Mon Jul 21, 2014 9:43 am

Hello,

I am trying to make a Misc Item so that you can click on it in your inventory (ie activate it) and have it cast a spell.

I've created the item (a bloody skull), attached a script to the item with an OnActivation event, but all that happens is a standard "you may not equip this item" message. So, as near as I can tell, the OnActivation event never fires.

Does anyone have any pointers as to what I am doing wrong?

Thanks in advance!

User avatar
Alberto Aguilera
 
Posts: 3472
Joined: Wed Aug 29, 2007 12:42 am

Post » Mon Jul 21, 2014 1:55 am

Use the OnEquipped event instead. The "You may not equip this item" message will show up, but the event does get triggered.

User avatar
Mr. Allen
 
Posts: 3327
Joined: Fri Oct 05, 2007 8:36 am


Return to V - Skyrim