vendredi 11 septembre 2015

Javascript - Deactivate Random Selection

I was searching around the web and I found: Samaritan Interface. As you can see, the system represents the phrases (located on: phraselist.js) randomly. My objective within this topic is to ask you, how can I put "Samaritan" representing the "phraselist" by order, in another words, if I have:

var phraselist = [

"I will protect you now",

"What are your commands?",

"Investigation ongoing",

[...]

Samaritan will show: "I will protect you" --> "What are your commands?" --> "Investigation ongoing" (following the order of the list).

TIP: Check the link and the file, so you can understand what I am talking about.




Aucun commentaire:

Enregistrer un commentaire