I have this bound to a hotkey and when I run it 3 times windows makes a "no" sound on the third button press. But then it will run on the forth press?
I honestly have no idea what the issue is.
Any ideas? Any help would be very appreciated.
The script just jumps between the top modifier and either last edit poly mod or base modifier.
local BaseSwitchSOL
if classof (modpanel.getcurrentobject()) == Editable_Poly or classof (modpanel.getcurrentobject()) == Edit_Poly then
(
BaseSwitchSOL = subobjectlevel
modPanel.setCurrentObject $.modifiers[1]
)
else
(
try
(
modPanel.setCurrentObject $.editpoly
subobjectlevel = BaseSwitchSOL
)
catch
(
modPanel.setCurrentObject $.baseObject
if BaseSwitchSOL != undefined then
(
subobjectlevel = BaseSwitchSOL
)
else
(
subobjectlevel = 0
)
)
)
By jeremiah_bigley · 2013-02-25
Anubis · 2013-02-25