- Joined
- May 27, 2007
- Messages
- 1,689
ya like the title says i am having dialog problems, it seems that sometimes the dialog will pop up without any buttons, and you will be stuck looking at a blank dialog allowing you to do nothing, could someone give me a possible reason for this happening? if needed i can post trigger
-
When
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Select CIS Hero
-
-
Actions
-
Wait (Random real number between 0.00 and 2.00) seconds
-
Set CP = (Position of (Casting unit))
-
Dialog - Change the title of Select_Hero to Choose Your Hero
-
Dialog - Create a dialog button for Select_Hero labelled Droideka
-
Set Droideka = (Last created dialog Button)
-
Dialog - Create a dialog button for Select_Hero labelled Rocket Droid
-
Set RocketDroid = (Last created dialog Button)
-
Dialog - Create a dialog button for Select_Hero labelled Assault Droid
-
Set AssaultDroid = (Last created dialog Button)
-
Dialog - Create a dialog button for Select_Hero labelled Sniper Droid
-
Set SniperDroid = (Last created dialog Button)
-
Dialog - Show Select_Hero for (Triggering player)
-
-
-
When Copy
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Select Republic Hero
-
-
Actions
-
Wait (Random real number between 0.00 and 2.00) seconds
-
Set CP_Copy = (Position of (Casting unit))
-
Dialog - Change the title of Select_Hero_Copy to Choose Your Hero
-
Dialog - Create a dialog button for Select_Hero_Copy labelled Arc Trooper
-
Set ArcTrooper = (Last created dialog Button)
-
Dialog - Create a dialog button for Select_Hero_Copy labelled Rocket Trooper
-
Set RocketTrooper = (Last created dialog Button)
-
Dialog - Create a dialog button for Select_Hero_Copy labelled Assault Trooper
-
Set CloneTrooper = (Last created dialog Button)
-
Dialog - Create a dialog button for Select_Hero_Copy labelled Sniper Clone
-
Set CloneSniper = (Last created dialog Button)
-
Dialog - Show Select_Hero_Copy for (Triggering player)
-
-
-
Choose
-
Events
-
Dialog - A dialog button is clicked for Select_Hero
-
-
Conditions
-
Actions
-
Unit Group - Pick every unit in (Units in (Playable map area)) and do (If ((((Picked unit) is A Hero) Equal to True) and ((Owner of (Picked unit)) Equal to (Triggering player))) then do (Unit - Remove (Picked unit) from the game) else do (Do nothing))
-
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(((Picked unit) is A Hero) Equal to True) and ((Owner of (Picked unit)) Equal to (Triggering player))
-
-
Then - Actions
-
Unit - Remove (Picked unit) from the game
-
-
Else - Actions
-
-
-
-
If ((Clicked dialog button) Equal to AssaultDroid) then do (Unit - Create 1 Assault Droid for (Triggering player) at CP facing Default building facing degrees) else do (Do nothing)
-
If ((Clicked dialog button) Equal to Droideka) then do (Unit - Create 1 Droideka for (Triggering player) at CP facing Default building facing degrees) else do (Do nothing)
-
If ((Clicked dialog button) Equal to SniperDroid) then do (Unit - Create 1 Sniper Droid for (Triggering player) at CP facing Default building facing degrees) else do (Do nothing)
-
If ((Clicked dialog button) Equal to RocketDroid) then do (Unit - Create 1 Rocket Droid for (Triggering player) at CP facing Default building facing degrees) else do (Do nothing)
-
Custom script: call RemoveLocation (udg_CP)
-
Dialog - Clear Select_Hero
-
Unit - Add classification of A peon-type unit to (Last created unit)
-
-
-
Choose Copy
-
Events
-
Dialog - A dialog button is clicked for Select_Hero_Copy
-
-
Conditions
-
Actions
-
Unit Group - Pick every unit in (Units in (Playable map area)) and do (If ((((Picked unit) is A Hero) Equal to True) and ((Owner of (Picked unit)) Equal to (Triggering player))) then do (Unit - Remove (Triggering unit) from the game) else do (Do nothing))
-
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(((Picked unit) is A Hero) Equal to True) and ((Owner of (Picked unit)) Equal to (Triggering player))
-
-
Then - Actions
-
Unit - Remove (Picked unit) from the game
-
-
Else - Actions
-
-
-
-
If ((Clicked dialog button) Equal to CloneTrooper) then do (Unit - Create 1 Assault Trooper for (Triggering player) at CP_Copy facing Default building facing degrees) else do (Do nothing)
-
If ((Clicked dialog button) Equal to RocketTrooper) then do (Unit - Create 1 Rocket Trooper for (Triggering player) at CP_Copy facing Default building facing degrees) else do (Do nothing)
-
If ((Clicked dialog button) Equal to CloneSniper) then do (Unit - Create 1 Sniper Clone for (Triggering player) at CP_Copy facing Default building facing degrees) else do (Do nothing)
-
If ((Clicked dialog button) Equal to ArcTrooper) then do (Unit - Create 1 Arc Trooper for (Triggering player) at CP_Copy facing Default building facing degrees) else do (Do nothing)
-
Custom script: call RemoveLocation (udg_CP_Copy)
-
Dialog - Clear Select_Hero_Copy
-
Unit - Add classification of A peon-type unit to (Last created unit)
-
-
Last edited: