Hi! I’d like to create an OSCMessage object in GPScript with both an int and a string [0,“some_string”], but I’m not sure how to construct the message variable. Can you give me an example, with address ‘/some_address’. Thank you!
Try this:
var mOSC : OSCMessage
initialization
OSC_SetAddress(mOSC, "/some_address")
OSC_AppendIntArg(mOSC, 0)
OSC_AppendStringArg(mOSC, "some_satring")
end
You guys are seriously the absolute best.
2 Likes