XM Magdalena 3D print, GGeorgy (3D)
LC #42 Pipers Alley

View Full Version : Shift clicking with button ? 1 more time.

10-21-2010, 04:35 AM

If you remember thread a little while ago it was about shift clicking. Anyways, I made it so that you have to put a name in for your character, and it renames everything off that. Anyways, is this code right for that?

global string $CharacterName;
$CharacterName = `textField -query -text preprefix`;

string $myBtn0 = `button -label "Head" -command "string $object=\($CharacterName + "_Head_Turn_Controller")\;
int $mods = `getModifiers`;
if (($mods/1)%2==1)select -add $object;else select $object;"`;



CGTalk Moderation
10-21-2010, 04:35 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.