Sie sind nicht angemeldet.

1

Sonntag, 10. September 2023, 06:20

Get return value from js action in normal krpano action

Hey all
I have normal krpano action and i'm wanna calling js testing action and get return value from that action.
transitionTime = testing(get(currentSceneBeforeClickLoadScene), get(prevImage), get(image));
trace(get(transitionTime));

It show null all time

kme

Fortgeschrittener

Beiträge: 310

Wohnort: Belgium

Beruf: Long time coder, product manager and 3D enthousiast

  • Nachricht senden

2

Sonntag, 10. September 2023, 16:51


3

Montag, 11. September 2023, 11:28

Thanks. I'm currently using krpano.set to update krpano variable in action javasciprt. So i'm using get func in normal action to get value of it. Do u think its ok?

kme

Fortgeschrittener

Beiträge: 310

Wohnort: Belgium

Beruf: Long time coder, product manager and 3D enthousiast

  • Nachricht senden

4

Montag, 11. September 2023, 14:27

whatever works for you *thumbsup*

5

Mittwoch, 13. September 2023, 17:10

thank you ^^