I think that there is an issue with onpcequip and potions, but I'm not sure about the particulars. Unless you have potion effects other than your scaling, you could just use a misc bottle renamed and scripted... Just script in the playsound for potions if you want that.
Genius! Let me go test that...
Okay, I'm getting an "EXPRESSION" and "right eval" error now. Can't seem to find the problem in the script.
begin shrinkingpotionscriptshort playershrunkshort dooncefloat timerif ( onPCequip == 1 ) set playershrunk to 1endifif ( playershrunk == 1 ) if ( doonce == 0 ) player-> setscale 0.5 pcforce3rdperson disableplayerviewswitch set timer to timer + getsecondspassed set doonce to 1 endifendifif ( timer >= 30 ) player-> setscale 1 enableplayerviewswitch set timer to 0 set playershrunk to 0 set doonce to 0endifend
Any ideas on what the problem is now?