Jump to content

[SOLVED] can do "if" in "int init()"


photo

Recommended Posts

Hi 

 

When I do a 'if' statement inside 'init()' I get the following error "editor is already loaded'. 

 

 

I want to do some checking inside 'init()', what is the best way to lay code out?

 

 

if(typeofmessage == "something") { } //gives error 

 

 

Link to comment

Hi,

 

"editor already loaded" it is not an error, you can ignore this message. This message indicates that you are trying to execute command editor_load with already opened Editor.

 

Please, post all your script code or attach simple test scene with error, so we can check what happens here.

 

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment
×
×
  • Create New...