playMaker

Author Topic: How to load a random scene? FSM Action  (Read 1784 times)

MatiasHarder

  • Junior Playmaker
  • **
  • Posts: 51
How to load a random scene? FSM Action
« on: May 10, 2017, 03:12:42 PM »
Hi, I would like to know how I can load a random scene when I click on a button... thanks
« Last Edit: May 10, 2017, 03:50:39 PM by MatiasHarder »

Ofonna

  • Full Member
  • ***
  • Posts: 230
Re: How to load a random scene? FSM Action
« Reply #1 on: May 10, 2017, 06:32:07 PM »
lol get the load level num action and use the get random int action and instert the int variable in the "load level num action", whatever random integer is generated by the random in action will be loaded as scene, you could also use strings

MatiasHarder

  • Junior Playmaker
  • **
  • Posts: 51
Re: How to load a random scene? FSM Action
« Reply #2 on: May 12, 2017, 03:02:19 PM »
Thanks you a lot :D

Ofonna

  • Full Member
  • ***
  • Posts: 230
Re: How to load a random scene? FSM Action
« Reply #3 on: May 15, 2017, 01:28:54 AM »
no problem!