They are all classified as AMMO but I need a function like IsBolt().
Would a "get model path" function work?
I do not want to make my mod dependent on Dawngaurd. AS it is now I have many Crossbow functions in my mod in case a player DOES have Dawngaurd.
None of which make my mod dependent.
But if I make a formlist of the bolts that will then require Dawngaurd to be loaded.
(I do have DG by the way, as I love the crossbows and extra Vampires.)
Edit: I think this may work, but I am worried a bolt is not a weapon per SKSE. I guess I will just try it:
String FilePath = WeaponProperty.GetModelPath()if StringUtil.Find(FilePath, "bolt") > 0debug.messagebox("I am a bolt")elseif StringUtil.Find(FilePath, "Bolt") > 0debug.messagebox("I am a Bolt")endif
Edit: NO...that will not work....
