Hi,
my current js code is as it follows:
chatbotJsonObject = JSON.parse(chatbotData); m_Int = parseInt(chatbotJsonObject.m_Int);
I'm trying to parse data similar to the events below, which work fine.
Any pointers of what I'm doing wrong would be really helpful, thanks!
Hi, my current js code is as it follows: > chatbotJsonObject = JSON.parse(chatbotData); m_Int = parseInt(chatbotJsonObject.m_Int); I'm trying to parse data similar to the events below, which work fine. Any pointers of what I'm doing wrong would be really helpful, thanks!
> chatbotJsonObject = JSON.parse(chatbotData); m_Int = parseInt(chatbotJsonObject.m_Int);
I think you need to call the global variable using the runtime object. Use the following:
construct.net/en/forum/construct-3/scripting-51/set-value-global-variable-148584
Develop games in your browser. Powerful, performant & highly capable.
Thanks!