Jump to content

Need help with small script


Trestor

Recommended Posts

Hello guys

I need a little help with an item script.

 

This is the plan:

 

If Player or NPC is an argonian (ArgonianRace) and he equips ItemA

ItemB will be added to his inventory.

If he unequips ItemA,

Item B will be unequiped.

All this should happen without the equip and add sound.

 

Seems to be easy but it isn't (for me) even with skills in java, python and the old GECK scripts

 

Please help me!!

Edited by Trestor
Link to comment
Share on other sites

  • 3 weeks later...

Try making a "quest" with aliases pointing to itemA and ItemB, then you can attach scripts to these items via the aliases, and use "OnEquipped()" events in them.

 

Alternatively, if ItemsA and B are unique items you have created, then you can probably attach the scripts directly to these items without the "quest" too, Might work.

 

The CK page for OnEquipped() is here

 

Hope this helps or at least gives you an idea how to proceed.

Edited by elite403
Link to comment
Share on other sites

  • Recently Browsing   0 members

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