how do i use verse to make it choose a number from 1 to 8 randomly and for each number it sends a signal to a cinematic?
all activated by a conditional button
use GetRandomInt (low range,high range) to get the number and store it to a variable, then have a series of if statements to launch the cinematic based on the number
CinematicToPlay := GetRandomInt(1-8)
if(CinematicToPlay=1):
Cinematic1.Play()
…
Thanks Don,
I just wanted to add that you’ll probably need to add the ‘Random’ module to use this function.
using { /Verse.org/Random }