How to call a wmlscript function without a button press?

Hello,

I want to set a variable in my wml deck using a function from my wmlscript or even just using Lang.random().

I want to it to set the variable without the user having to press a button (i.e., so it is set when the deck is loaded).

If anyone could give me the snippet of code I need, I'd much appreciate it!

Cheers,
James


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories