revilo3D
07-06-2006, 01:43 PM
hi guys, just trying to get past the whole copy and paste of mel and write something of my own however am really confused by something.
when i create a vector variable.. for example
vector $vertposition = <<1,2,3>>
// Result: <<1, 2, 3>> //
this is totally fine.. but if its called
vector $vertpos = <<1,2,3>>
it spits out this..
// Error: vector $vertpos = <<1,2,3>>; //
// Error: Invalid redeclaration of variable "$vertpos" as a different type. //
what is the wrong here :(. From what ive learnt so far im not breaking any rules of a variable.. i dont think. This is the second occurance is 45 mins of trying to create a script that ive run into this :(
also im trying to do put this data into a vector variable, but is proving to be over my head it seems..
xform -query -worldSpace -translation `ls -sl`
Any help would be wicked on with of these..
when i create a vector variable.. for example
vector $vertposition = <<1,2,3>>
// Result: <<1, 2, 3>> //
this is totally fine.. but if its called
vector $vertpos = <<1,2,3>>
it spits out this..
// Error: vector $vertpos = <<1,2,3>>; //
// Error: Invalid redeclaration of variable "$vertpos" as a different type. //
what is the wrong here :(. From what ive learnt so far im not breaking any rules of a variable.. i dont think. This is the second occurance is 45 mins of trying to create a script that ive run into this :(
also im trying to do put this data into a vector variable, but is proving to be over my head it seems..
xform -query -worldSpace -translation `ls -sl`
Any help would be wicked on with of these..
