View Single Post
  #3  
Old 11-18-2008, 01:23 PM
TrashcanPatrol TrashcanPatrol is offline
Member
 
Join Date: Aug 2008
Posts: 43
That code works great! But I am having some trouble trying to assign it to a value... sorry if I'm not very descriptive, I have it all planned out in my head and the thoughts aren't very precise when typing them out.

There's a value that is turned to 'ON' when the player selects an option from a dropdown menu... my trouble is I want the player to only be able to select an avatar and/or different parts of the avatar only when the player has selected this option, so only when the value is 'ON' the player will be able to click on the avatar. If that makes any sense >_<
What happens when I try this in my code is, instead of having the console print "You clicked the avatar's head", it says "You clicked casual32_m_highfoly.CMFX" [The code is supposed to make it say the head if you clicked the head, and whatever you clicked besides that would just be casual32_m_highfoly.CMFX or whatever the filename is for it]
How can I make it work so that you can pick a part only if a variable is enabled?
Reply With Quote