Difference between revisions of "User:Quetzilla/How to Use QZ Menus"

Jump to navigation Jump to search
m
imported>Quetzilla
imported>Quetzilla
Line 23: Line 23:
# Create a Message named 'PickADoorMessage', type in some text telling the user to pick a door, then label 3 buttons: Door 1, Door 2, Door 3.
# Create a Message named 'PickADoorMessage', type in some text telling the user to pick a door, then label 3 buttons: Door 1, Door 2, Door 3.
# Create a Message named 'PickYourPrizeMessage', type in some text telling the user to pick a prize, then label 3 buttons: Sniper Rifle, Stimpak, and 2 SPECIAL Points.
# Create a Message named 'PickYourPrizeMessage', type in some text telling the user to pick a prize, then label 3 buttons: Sniper Rifle, Stimpak, and 2 SPECIAL Points.
# Create a Message named 'WrongDoorMessage', type in some text telling the user they picked the wrong door.
# Create two Messages named 'WrongDoorMessage1' and 'WrongDoorMessage2', then type in some text telling the user they picked the wrong door.
# Create a Key item named 'StatPointsAction' and also create a new script and attach it to the Key.  Paste the following code into the text area for the script:
# Create a Key item named 'StatPointsAction' and also create a new script and attach it to the Key.  Paste the following code into the text area for the script:
<pre>scn StatPointsActionScript
<pre>scn StatPointsActionScript
Line 31: Line 31:
end</pre>
end</pre>


Now we've got the pieces we need we can assemble our MenuNodes.  Open the PickADoorNode form list and add objects to it so that they show up in this order:
Now that we've got the pieces we need, we can assemble our MenuNodes.  Open the PickADoorNode form list and add objects to it so that they show up in this order:
* PickADoorMessage
* PickADoorMessage
* WrongDoorMessage
* WrongDoorMessage1
* PickYourPrizeNode
* PickYourPrizeNode
* WrongDoorMessage
* WrongDoorMessage2


Next, Open the PickYourPrizeNode form list, and add object so that they show up in this order:
Next, Open the PickYourPrizeNode form list, and add objects so that they show up in this order:
* PickYourPrizeMessage
* PickYourPrizeMessage
* WeapSniperRifle
* WeapSniperRifle
Anonymous user

Navigation menu