Notifications
Clear all

[Closed] Maxscript Help Attribute Holder Dropdwonlist Rest

Hello guys so every time i transform to zero in 3ds max the Dropdwonlist Rests and the script works fin if its on on Attribute Holder any idea why ??

ca = attributes L_Leg_Postion_Controls
(

rollout pose “L Leg Pose” width:200 height:600
(

dropdownlist Pose "test" items:#("Zero")  height:6
button btn_test "get selection"

	

fn Pose_Selected itm =--we pass the argument passed to the handler

(
format “You selected %
” itm–and do something inside

)

on pose selected sel do

(

)


on btn_test pressed do

(
Pose.items = append Pose.items (“Pose “+ (Pose.items.count+1) as string)

Pose_Selected (Pose.selection = Pose.selection + 1 )


)

)
)

custAttributes.add $.modifiers [1] ca