Go easy on me, my first post for scripting help.
My google-fu fails me.
Is there a simple way to tell if target player can use target item, taking into account alignment/class restrictions and player's UMD?
Would I just have to write my own check by using IPGetHasUseLimitation(), and if true, check GetHasSkill() for UMD, use GetIsSkillSuccessful() with UMD vs Item Level... and if not loop through item properties looking for any limitations and comparing them to the player to return true of false for if the player can use it?
I'm just kind of surprised that function hasn't been written already. Maybe I'm just not finding it. Seems like I shouldn't be the first person ever to have a need to check item usability in script. I can write it no sweat, just looking to save time.
Modifié par altphil, 20 avril 2012 - 04:05 .