- Joined
- Dec 4, 2007
- Messages
- 76
Ok so in my rpg im using a unique selection system where you choose your gender (Male or Female) and then a dialogue box comes up and you get to choose your main attribute. Problem is, my dialogue arrays dont work, no one other than player 1 red can see the dialogue and if someone enters the selection circle b4 red chooses main attribute, it destroys his dialogue...Heres the triggers, im probably missing something obvious or overcomplicating things but anyways...help is appreciated...
Thats for picking the char...heres actual dialog.
Thanks for any advice =\
-
Male
-
Events
- Unit - A unit comes within 65.00 of Circle of Power 0026 <gen>
-
Conditions
- (Unit-type of (Triggering unit)) Equal to Wisp
-
Actions
- Set IsMale[(Player number of (Triggering player))] = True
- Set Dialoguer[(Player number of (Owner of (Triggering unit)))] = (Owner of (Triggering unit))
- Unit - Kill (Triggering unit)
- Dialog - Clear MainDialog[(Player number of (Owner of (Triggering unit)))]
- Dialog - Change the title of MainDialog[(Player number of (Owner of (Triggering unit)))] to Main Attribute:
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Dialoguer[1] Equal to Player 1 (Red)
-
Then - Actions
- Dialog - Create a dialog button for MainDialog[1] labelled Strength
- Set DButton[1] = (Last created dialog Button)
- Dialog - Create a dialog button for MainDialog[1] labelled Agility
- Set DButton[2] = (Last created dialog Button)
- Dialog - Create a dialog button for MainDialog[1] labelled Intelligence
- Set DButton[3] = (Last created dialog Button)
- Dialog - Show MainDialog[1] for Player 1 (Red)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Dialoguer[2] Equal to Player 2 (Blue)
-
Then - Actions
- Dialog - Create a dialog button for MainDialog[2] labelled Strength
- Set DButton_Copy[1] = (Last created dialog Button)
- Dialog - Create a dialog button for MainDialog[2] labelled Agility
- Set DButton_Copy[2] = (Last created dialog Button)
- Dialog - Create a dialog button for MainDialog[2] labelled Intelligence
- Set DButton_Copy[3] = (Last created dialog Button)
- Dialog - Show MainDialog[2] for Player 2 (Blue)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Dialoguer[3] Equal to Player 3 (Teal)
-
Then - Actions
- Dialog - Create a dialog button for MainDialog[3] labelled Strength
- Set DButton_Copy_2[1] = (Last created dialog Button)
- Dialog - Create a dialog button for MainDialog[3] labelled Agility
- Set DButton_Copy_2[2] = (Last created dialog Button)
- Dialog - Create a dialog button for MainDialog[3] labelled Intelligence
- Set DButton_Copy_2[3] = (Last created dialog Button)
- Dialog - Show MainDialog[3] for Player 3 (Teal)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Dialoguer[4] Equal to Player 4 (Purple)
-
Then - Actions
- Dialog - Create a dialog button for MainDialog[4] labelled Strength
- Set DButton_Copy_3[1] = (Last created dialog Button)
- Dialog - Create a dialog button for MainDialog[4] labelled Agility
- Set DButton_Copy_3[2] = (Last created dialog Button)
- Dialog - Create a dialog button for MainDialog[4] labelled Intelligence
- Set DButton_Copy_3[3] = (Last created dialog Button)
- Dialog - Show MainDialog[4] for Player 4 (Purple)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Dialoguer[5] Equal to Player 5 (Yellow)
-
Then - Actions
- Dialog - Create a dialog button for MainDialog[5] labelled Strength
- Set DButton_Copy_4[1] = (Last created dialog Button)
- Dialog - Create a dialog button for MainDialog[5] labelled Agility
- Set DButton_Copy_4[2] = (Last created dialog Button)
- Dialog - Create a dialog button for MainDialog[5] labelled Intelligence
- Set DButton_Copy_4[3] = (Last created dialog Button)
- Dialog - Show MainDialog[5] for Player 5 (Yellow)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Dialoguer[6] Equal to Player 6 (Orange)
-
Then - Actions
- Dialog - Create a dialog button for MainDialog[6] labelled Strength
- Set DButton_Copy_5[1] = (Last created dialog Button)
- Dialog - Create a dialog button for MainDialog[6] labelled Agility
- Set DButton_Copy_5[2] = (Last created dialog Button)
- Dialog - Create a dialog button for MainDialog[6] labelled Intelligence
- Set DButton_Copy_5[3] = (Last created dialog Button)
- Dialog - Show MainDialog[6] for Player 6 (Orange)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Dialoguer[7] Equal to Player 7 (Green)
-
Then - Actions
- Dialog - Create a dialog button for MainDialog[7] labelled Strength
- Set DButton_Copy_6[1] = (Last created dialog Button)
- Dialog - Create a dialog button for MainDialog[7] labelled Agility
- Set DButton_Copy_6[2] = (Last created dialog Button)
- Dialog - Create a dialog button for MainDialog[7] labelled Intelligence
- Set DButton_Copy_6[3] = (Last created dialog Button)
- Dialog - Show MainDialog[7] for Player 7 (Green)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Dialoguer[8] Equal to Player 8 (Pink)
-
Then - Actions
- Dialog - Create a dialog button for MainDialog[8] labelled Strength
- Set DButton_Copy_7[1] = (Last created dialog Button)
- Dialog - Create a dialog button for MainDialog[8] labelled Agility
- Set DButton_Copy_7[2] = (Last created dialog Button)
- Dialog - Create a dialog button for MainDialog[8] labelled Intelligence
- Set DButton_Copy_7[3] = (Last created dialog Button)
- Dialog - Show MainDialog[8] for Player 8 (Pink)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Camera - Pan camera for (Owner of (Triggering unit)) to (Center of ClassSelection <gen>) with height 500.00 above the terrain over 0.50 seconds
- Wait 0.50 seconds
- Camera - Reset camera for (Owner of (Triggering unit)) to standard game-view over 0.50 seconds
-
Events
Thats for picking the char...heres actual dialog.
-
Red
-
Events
- Dialog - A dialog button is clicked for MainDialog[1]
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to DButton[1]
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- IsMale[1] Equal to True
-
Then - Actions
- Unit - Create 1 Male (Strength) for Player 1 (Red) at (Center of ClassSelection <gen>) facing Default building facing degrees
- Dialog - Clear MainDialog[1]
-
Else - Actions
- Unit - Create 1 Female (Strength) for Player 1 (Red) at (Center of ClassSelection <gen>) facing Default building facing degrees
- Dialog - Clear MainDialog[1]
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to DButton[2]
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- IsMale[1] Equal to True
-
Then - Actions
- Unit - Create 1 Male (Agility) for Player 1 (Red) at (Center of ClassSelection <gen>) facing Default building facing degrees
- Dialog - Clear MainDialog[1]
-
Else - Actions
- Unit - Create 1 Female (Agility) for Player 1 (Red) at (Center of ClassSelection <gen>) facing Default building facing degrees
- Dialog - Clear MainDialog[1]
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to DButton[3]
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- IsMale[1] Equal to True
-
Then - Actions
- Unit - Create 1 Male (Intelligence) for Player 1 (Red) at (Center of ClassSelection <gen>) facing Default building facing degrees
- Dialog - Clear MainDialog[1]
-
Else - Actions
- Unit - Create 1 Female (Intelligence) for Player 1 (Red) at (Center of ClassSelection <gen>) facing Default building facing degrees
- Dialog - Clear MainDialog[1]
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
Thanks for any advice =\