Maya 2020 fundamentals - modelling the real world
Get halfway through a model and find it's an unworkable mess? Can't add edge loops where you need them? Can't subdivide a mesh properly? If any of this sounds familiar check this course out.
# 1 13-06-2005 , 05:59 PM
Dann's Avatar
Registered User
Join Date: Feb 2003
Location: Los Angeles
Posts: 695

A dumbed down version

OK, for some reason, I can't seem to post another reply to my thread right now, so I had to start a new one. Poor etiquette I know. Sorry.

Why doesn't this work? If the variable is global, why does Maya say it's undefined?

global proc localGlobal ()
{
global string $thisIsAGlobalVariable = "It's global.";
}
global proc printIt ()
{
print $thisIsAGlobalVariable ;
}

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads