edited July 2014 in ORK Scripting
Is that currently possible?

EDIT:
I just noticed that I should be able to do this via passive abilities given to the weapon.
Post edited by Kashrlyyk on
  • You can getthe item type of an equipped weapon/armor with the following code:

    int typeID = combatant.Equipment[int index].Equipment.TypeID;

    But it's best to check if there is something equipped first, or you'll get an exception :)

    if(combatant.Equipment[int index].Equipped)

    index is the ID of the equipment part.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.