- Joined
- Jan 5, 2016
- Messages
- 764
- Reaction score
- 636
- First Language
- French
- Primarily Uses
From the help file:
So following this example to get a random sequence with only arrow keys you should use this:
Code:
* Generate a random sequence
*$gameMap.randomSequence(length)
* It will generate a random QTE sequence of that length, using
* all inputs available, except those you put after length
* example: $gameMap.randomSequence(5,"up") will return a 5
* input long sequence that doesn't contain the up key.
* $gameMap.randomSequence(5,"up","down") will do the same
* but without the down key too.
* example:
* $gameMap.QTE(["normal",0],500,$gameMap.randomSequence(5),true)
So following this example to get a random sequence with only arrow keys you should use this:
Code:
$gameMap.randomSequence(length,"ok","cancel")