#Thread
1 messages · Page 1 of 1 (latest)
what are you trying to do
make mParent work
that doesnt help me does it
first of all line 3 means nothing, thats not code delete that
what does mparent do?
the reason why public gives you an error is becuase public Mode is not code, delete that too
Its an animation script
ok
ok mode is a type, its not a variable so it cant be used as a var
so in that whole if statment mode has to go
so delete every mode?
yes
ok
mode isnt a variable
also
what is this
here you are setting a var of type weightedTransfomArray to something of type multiparent contractint
this isnt code... again
delete
and the reason why you get issue is because as i said above that isnt code
i think here you have a bigger issue, i would take a break and then watch a coding tutorial
you are making a lot of basic mistakes
i do agree with the just trying things but no point in trying if you have no basics
ok
delete those lines?
you basically delete the whole ifstatement
and the first line of code in the start function Mode = ground
that has to go too
that isnt code
'object' does not contain a definition for 'sourceObjects' and no accessible extension method 'sourceObjects' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?)
this type doesn have that variable or function you are calling
you need to open that script too
open multiparent?
gonna be honest not too sure what internalobject types are, but still where did you get this code?
github
its a fan game
it is from a locomotion system from a game called gorilla tag
the thing is that that was a necessary part
it was
if you want to "fix" all the issues then you have to delete that line too but then the if statment is useless
if you just want to get rid of all the errors then delete the whole if statement
yh thats the issue
i know you do
either the person that own the repo messed up with the type data or you changed something in the code
someone made a mistake somewhere
I didn't change it
but the constraint.data has no object sourceObject
it does now
show
well no it clearly doesnt
if its giving you the error it doesnt
yeah
....
what
i have no idea what im doing
i know
that is why i am saying stop what you are doing
take a break
take a coding course
kk
now
GN