- Joined
- May 11, 2012
- Messages
- 2,103
-
Tome 100
-
Events
- Dialog - A dialog button is clicked for Mission_Dialog
-
Conditions
- (Clicked dialog button) Equal to Mission_Dialog_Button[1]
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Tome100_Boolean[(Player number of (Triggering player))] Equal to True
- TurnOnMissionDialogCircleShow[(Player number of (Triggering player))] Equal to True
-
Then - Actions
- Set PlayerGroup = (Player group((Triggering player)))
- Game - Display to PlayerGroup the text: |cFFFF0000You alrea...
- Trigger - Turn on Mission Circle Dialog Show <gen>
- Custom script: call DestroyForce(udg_PlayerGroup)
-
Else - Actions
- Set StartTimer_Trigger[(Player number of (Triggering player))] = Start Timer <gen>
- -------- ---------------------- Setting Variables ---------------------- --------
- Set Tome100_Boolean[(Player number of (Triggering player))] = True
- Set TurnOnMissionDialogCircleShow[(Player number of (Triggering player))] = True
- Set Tome100AllstatPoint = (Center of Tome 100 Rune <gen>)
- Set Tome100Point = (Center of Tome 100 <gen>)
- -------- ---------------------- Main Actions ---------------------- --------
- Item - Create 100 All stat at Tome100AllstatPoint
- Set TempItem = (Last created item)
- Game - Display to (All players) the text: ((Proper name of MissionCircleUnit) + |c00FFD700has selected mission: Tome +100)
- Unit - Pause MissionCircleUnit
- Wait 3.00 seconds
- Unit - Move MissionCircleUnit instantly to Tome100Point
- Camera - Pan camera for (Owner of MissionCircleUnit) to Tome100Point over 0.00 seconds
- Visibility - Create an initially Enabled visibility modifier for (Owner of MissionCircleUnit) emitting Visibility across Tome 100 Visibility <gen>
- Visibility - Enable (Last created visibility modifier)
- Wait 3.00 seconds
- Unit - Unpause MissionCircleUnit
- -------- ---------------------- Clean Leaks ---------------------- --------
- Custom script: call RemoveLocation(udg_Tome100AllstatPoint)
- Custom script: call RemoveLocation(udg_Tome100Point)
- -------- ---------------------- Turn off Trigger ---------------------- --------
- Trigger - Turn off Mission Circle Dialog Show <gen>
- Trigger - Turn off StartTimer_Trigger[(Player number of (Triggering player))]
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
- Trigger - Turn off StartTimer_Trigger[(Player number of (Triggering player))]