Hey, everyone.
EDIT3: Well, two problems as of 11/11/2010. Would be nice to have some answers,
EDIT2: Link to the current problem if you wish to skip the rest of it.
EDIT: Whoops, I forgot to change the thread title after I changed what my question is... D: Fixed.
EDIT3: Well, two problems as of 11/11/2010. Would be nice to have some answers,
EDIT2: Link to the current problem if you wish to skip the rest of it.
EDIT: Whoops, I forgot to change the thread title after I changed what my question is... D: Fixed.
I'm creating a dice roll system with 6 dice currently. atm I've got:
Also, I have one other, generic question.
What would happen if I have "Trigger - Turn off Select to keep <gen>" set after a timer like I have it here, and it already be off before that time has expired? Basically, what happens if I turn off a trigger that's already turned itself off? I don't think anything weird would happen, but I'd like to be sure.
-
Roll Dice
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to (==) Roll Dice
-
-
Actions
-
Trigger - Turn off (This trigger)
-
Set Dice_Roll[1] = (Random integer number between 1 and 6)
-
Set Dice_Result[1] = Dice_Result[1]
-
Set Dice_Roll[2] = (Random integer number between 1 and 6)
-
Set Dice_Result[2] = Dice_Result[2]
-
Set Dice_Roll[3] = (Random integer number between 1 and 6)
-
Set Dice_Result[3] = Dice_Result[3]
-
Set Dice_Roll[4] = (Random integer number between 1 and 6)
-
Set Dice_Result[4] = Dice_Result[4]
-
Set Dice_Roll[5] = (Random integer number between 1 and 6)
-
Set Dice_Result[5] = Dice_Result[5]
-
Set Dice_Roll[6] = (Random integer number between 1 and 6)
-
Set Dice_Result[6] = Dice_Result[6]
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Then - Actions
-
Else - Actions
-
-
Wait 1.50 seconds
-
Game - Display to (All players) for 30.00 seconds the text: ((Name of (Triggering player)) + (has rolled: |cffffcc00 + ((String(Dice_Roll[1])) + (|r, |cffffcc00 + ((String(Dice_Roll[2])) + (|r, |cffffcc00 + ((String(Dice_Roll[3])) + (|r, |cffffcc00 + ((String(Dice_Roll[4])) + (|r, |cffffcc00 + ((String(Dice_Roll[5]))
-
Game - Display to (All players) for 30.00 seconds the text: Unknown
-
Game - Display to (All players) for 30.00 seconds the text: ((Name of (Triggering player)) + now has 30 seconds to choose which dice they wish to keep.)
-
Trigger - Turn on Select to keep <gen>
-
Wait 30.00 seconds
-
Trigger - Turn off Select to keep <gen>
-
Game - Display to (All players) the text: ((Name of (Triggering player)) + has failed to select their dice in time. Next turn.)
-
-
- No 1
- No 5
- No 1, 1, 1
- No 2, 2, 2
- No 3, 3, 3
- No 4, 4, 4
- No 5, 5, 5
- No 6, 6, 6
- No 1, 2, 3, 4, 5, 6.
- No 1
- No 5
- No 2, 2, 2
- No 3, 3, 3
- No 4, 4, 4
- No 6, 6, 6
Also, I have one other, generic question.
What would happen if I have "Trigger - Turn off Select to keep <gen>" set after a timer like I have it here, and it already be off before that time has expired? Basically, what happens if I turn off a trigger that's already turned itself off? I don't think anything weird would happen, but I'd like to be sure.
Last edited: