- Joined
- Jul 10, 2018
- Messages
- 383
Code:
Magtheridon
Events
Unit - A unit enters O44689 <gen>
Unit - A unit enters O44716 <gen>
Conditions
((Entering unit) is A Hero) Equal to True
(Owner of (Triggering unit)) Not equal to Player 10 (Light Blue)
(Owner of (Triggering unit)) Not equal to Player 11 (Dark Green)
(Owner of (Triggering unit)) Not equal to Player 12 (Brown)
Actions
Trigger - Turn off (This trigger)
Unit - Pause all units
Sound - Stop the currently playing music theme
Sound - Stop music Immediately
Quest - Mark O23214[1] as Completed
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
O48120 Greater than or equal to 2
Then - Actions
For each (Integer A) from 1 to 4, do (Actions)
Loop - Actions
Hero - Learn skill for Jezrometh 0012 <gen>: Chain Lightning (Dark)
Else - Actions
Do nothing
Item - Pick every item in O42202 <gen> and do (Actions)
Loop - Actions
Item - Remove (Picked item)
Unit - Move Jezrometh 0012 <gen> instantly to (Center of O42202 <gen>), facing 225.00 degrees
Hero - Create Necklace of Spell Immunity and give it to Jezrometh 0012 <gen>
For each (Integer A) from 1 to 8, do (Actions)
Loop - Actions
Unit - Move O22452[(Integer A)] instantly to ((Center of O42202 <gen>) offset by 500.00 towards (180.00 + (45.00 x (Real((Integer A))))) degrees), facing (Center of O42202 <gen>)
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Camera - Pan camera for (Picked player) to (Center of O42202 <gen>) over 0.00 seconds
Visibility - Destroy (Last created visibility modifier)
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Visibility from (Center of O42202 <gen>) to a radius of 1000.00
Visibility - Enable (Last created visibility modifier)
Sound - Play O45290 <gen> at 100.00% volume, located at (Center of O42202 <gen>) with Z offset 0.00
Wait 3.00 seconds
Sound - Play O45772 <gen> at 100.00% volume, located at (Center of O42202 <gen>) with Z offset 0.00
Environment - Create at O42202 <gen> the weather effect Ashenvale Rain (Heavy)
Environment - Turn (Last created weather effect) On
Wait 4.00 seconds
Set O47997 = 5
Trigger - Run O53146 <gen> (ignoring conditions)
Trigger - Turn on O97661 <gen>
Trigger - Turn off O84847 <gen>
Wait 7.00 seconds
Unit - Unpause all units
Wait 1.00 seconds
Trigger - Turn on Fix <gen>
Trigger - Turn on O105863 <gen>
Custom script: call DestroyTrigger(GetTriggeringTrigger())
This code is supposed when entering The Region it Teleports the player to Another Region but it's not working for some reason.
This is The code:
For each (Integer A) from 1 to 8, do (Actions)
Loop - Actions
Unit - Move O22452[(Integer A)] instantly to ((Center of O42202 <gen>) offset by 500.00 towards (180.00 + (45.00 x (Real((Integer A))))) degrees), facing (Center of O42202 <gen>)
022452 Variable is UNIT Responds to The Player himself do i need to set it in Different trigger?