Hey Cipcsis,
I am going through my code and maybe you will know something that I don't, on this one. I'm checking the GECK WIKI and I don't see anything so far.
I have a block of code whose sole purpose is to isolate which exact weapon a follower is holding in his hands. Procedurally, it's already been narrowed down via a formlist check. Each code block is specific to the type of weapon, basically.
But look what function I have been using...
if getequipped WeapMissileLauncher PhalanxMalcolmStorageREF.additemhealthpercent WeapMissileLauncher 1 WeapHealthFloat removeitem WeapMissileLauncher 1elseif getequipped WeapMinigun PhalanxMalcolmStorageREF.additemhealthpercent WeapMinigun 1 WeapHealthFloat removeitem WeapMinigun 1elseif ...
... Is there a function that you know of that more resembles isweaponinlist that can be applied against a single equipped weapon? I mean... if I test, and it proves to be 50% more efficient to make a formlist containing just one entry for each weapon, I'll probably do it. But, christ? That svcks? Thats an assload of formlists!