Forum

Problem using run_entrypoint.

05 November 2016 21:20
Hello,
I have an issue using the run_entrypoint function.
nothing happens when i'm using it. the entry point does not seems to trigger.

I'm pretty sure it's because of the scene name that i got wrong. where i can find my scene name?
using the scene.getactive() function returns me ans empty string….

where did I got it wrong?
05 November 2016 21:26
Ok my bad, I don't know why now get_actives() actually returns me the correct scene name.
Still, it does not work….
05 November 2016 21:50
ok here is the thing. in the logic node editor of blender I have an entry point, with the "run from script" option enabled, its name is "Upentry" and it's label is "UpEntry".

When i call the logic_node.run_entrypoint(scene,nodeName) function nothing happens.
I tried to call it from it's node name and it's label name, it stays the same, nothing happens,I got no message in the console, nothing… any idea why it would do that?
06 November 2016 12:51
When i call the logic_node.run_entrypoint(scene,nodeName) function nothing happens.
I tried to call it from it's node name and it's label name, it stays the same, nothing happens,I got no message in the console, nothing… any idea why it would do that?
Hello!
Could you please export (via project manager) and attach your example project
Blend4Web Team - developer
Twitter
LinkedIn
 
Please register or log in to leave a reply.