playMaker

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

MatiasHarder

  • Junior Playmaker
  • **
  • Posts: 51
    • View Profile
How to load a random scene? FSM Action
« on: May 10, 2017, 12: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, 12:50:39 PM by MatiasHarder »

Ofonna

  • Full Member
  • ***
  • Posts: 230
    • View Profile
Re: How to load a random scene? FSM Action
« Reply #1 on: May 10, 2017, 03: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
    • View Profile
Re: How to load a random scene? FSM Action
« Reply #2 on: May 12, 2017, 12:02:19 PM »
Thanks you a lot :D

Ofonna

  • Full Member
  • ***
  • Posts: 230
    • View Profile
Re: How to load a random scene? FSM Action
« Reply #3 on: May 14, 2017, 10:28:54 PM »
no problem!