I’m trying to send a msg
msg.post("/m_char#m_char_script", "set_pos", vmath.vector3(0, 0, 0))
to another script to set its position to I’m trying to send the position as a vector3 but when I do I get this error
ERROR:SCRIPT: bad argument #3 to 'post' (table expected, got userdata)
but if I make it a table it doesn’t work in the other script because it isn’t a vector3 and it gives me this error. What can I do
ERROR:SCRIPT: bad argument #1 to 'set_position' (vector3 expected, got table)
Any ideas why. Thanks