DE EN FR ES IT CZ
Back Back to top

random apparition

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  • #1, by jetsetwilly 13 years ago Quote
    so , ich versuche deutsch an Stadt english fur ein mal, vieleicht besser.
    ich habe meinen main character wie geht in eine Zimmer, draussen hört man ein man wie lauft( foot steps fx) , jedes mal wie der sounds spielt ich wurde 25% of chance das ein mann komm herein in der Zimmer,
  • New to Visionaire Studio?

    Create point and click adventures without coding. The free version covers up to 25 scenes per project. For more scenes or to earn money with your game, you need a license.

    See the Indie Bundle Try it for free
  • #2, by esmeralda 13 years ago Quote
    you want to create a chance of 25 % for a man to enter a room? Use values. Create a value between, say 1 - 4 and call an action to set a random value. If the value is =1 then enter the room.
  • #3, by jetsetwilly 13 years ago Quote
    if the sound" footstep" is playing.
    wait 5 second
    play random value & to 4
    if value is 1 make visible character 2
    else
    do nothing
    something like that?
  • #4, by afrlme 13 years ago Quote
    yeah more or less. smile
    pause 5s (or 5000ms)
    set value 'value_name' random between 1 to 4
    if value 'value_name' is 1
     -- add actions to make character visible here
    end if