- Joined
- May 9, 2008
- Messages
- 1,446
Hi! I really need to have this dialog MPI (or MUI would be even better)! I have stucked in my map making, cause I cant move on without to get this to work. For now, if a unit enters one of the regions, and then if an other unit enters the same or an other region in the trigger, the first ones dialog clears, and you cant do anything. So pllz tell me wich variables it need to be arrays in and improvments so I can get it to work. Rep to they who helps!
-
Enter
-
Events
-
Unit - A unit enters Fireplace Library <gen>
-
Unit - A unit enters Diagon Alley Fireplace <gen>
-
-
Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
(Owner of (Entering unit)) Not equal to Neutral Passive
-
(Owner of (Entering unit)) Not equal to Neutral Hostile
-
(Owner of (Entering unit)) Not equal to Player 12 (Brown)
-
(Owner of (Entering unit)) Not equal to Player 11 (Dark Green)
-
-
-
-
Actions
-
Set Unit_Fireplace = (Entering unit)
-
Dialog - Clear FireDialog
-
Dialog - Change the title of FireDialog to Choose Destination
-
Dialog - Create a dialog button for FireDialog labelled Diagon Alley
-
Set Button_Diagon = (Last created dialog Button)
-
Dialog - Create a dialog button for FireDialog labelled Ministry Entrance
-
Set Button_Entrance = (Last created dialog Button)
-
Dialog - Create a dialog button for FireDialog labelled Library
-
Set Button_Library = (Last created dialog Button)
-
Dialog - Create a dialog button for FireDialog labelled Wizengamot
-
Set Button_Wizengamot = (Last created dialog Button)
-
Dialog - Create a dialog button for FireDialog labelled Weasleys' Wizard Wh...
-
Set Button_Weasleys = (Last created dialog Button)
-
Dialog - Show FireDialog for (Owner of (Triggering unit))
-
Set Fireplace_Unit[(Player number of (Owner of (Triggering unit)))] = (Triggering unit)
-
-
-
Arrive
-
Events
-
Dialog - A dialog button is clicked for FireDialog
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Clicked dialog button) Equal to Button_Wizengamot
-
-
Then - Actions
-
Set Temp_Point = (Center of Region 100 <gen>)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Clicked dialog button) Equal to Button_Weasleys
-
-
Then - Actions
-
Set Temp_Point = (Center of Wesley Fireplace Arrive <gen>)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Clicked dialog button) Equal to Button_Entrance
-
-
Then - Actions
-
Set Temp_Point = (Center of Region 102 <gen>)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Clicked dialog button) Equal to Button_Diagon
-
-
Then - Actions
-
Set Temp_Point = (Center of Diagon Alley Fireplace Arrive <gen>)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Clicked dialog button) Equal to Button_Library
-
-
Then - Actions
-
Set Temp_Point = (Center of Fireplace Library Arrive <gen>)
-
-
Else - Actions
-
-
-
-
-
-
-
-
-
-
Special Effect - Create a special effect attached to the origin of Fireplace_Unit[1] using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
-
Special Effect - Destroy (Last created special effect)
-
Unit - Move Fireplace_Unit[(Player number of (Triggering player))] instantly to Temp_Point
-
Camera - Pan camera for (Triggering player) to Temp_Point over 1.00 seconds
-
Custom script: call RemoveLocation (udg_Temp_Point)
-
-