scriptname aabdgetArmorTargetref targetref tempmodelstring_var tmppathbegin gamemode set target to GetCrosshairRef set tempmodel to target.GetBaseObject set tmppath to GetModelPath tempmodel MessageEx "test:%z" tmppathend
This works largely as expected, popping up a message with the model path - except when the target is a piece of armour (which, of course, is the only one I want it to work on! dc:). When armour is the target the path is empty - if you use a message box with no other text/variables it says 'default message text' or something to that nature. Any ideas on why this does not show the model path for armour? Help greatly appreciated! (c: