🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
Triggers
(1)Mystic lands.w3x
Variables
Camera
Map
Cam
Foot switch
Foot switch 1
View
Fog
Bob's Siggn
Out of work
Out of work cancel
Boat Travel
Traveling
Tarveling cancel
Captain talk
Captain
Captain cancel
Bandit raid
Humans
humans move 1
humans move 2
humans move 3
Bandit raid 1
Untitled Trigger 001
Untitled Trigger 002
Untitled Trigger 003
End
End 1
Door opening
door open by troll
Key Arrow Movement
Up Press
Up Realeses
Down Press
Down Realeses
Left Press
Left Realeses
Right Press
Right Realeses
Movement
Right
Right Copy
Right Copy 2
Right Copy Copy
Camera
Camera move
Enter map-specific custom script code below. This text will be included in the map script after variables are declared and before any trigger code.
Name
Type
is_array
initial_value
Angle
real
No
Down
boolean
No
Explorer
gamecache
No
Left
boolean
No
Right
boolean
No
Speed
real
No
Up
boolean
No
Map
Events
Map initialization
Conditions
Actions
Camera - Lock camera target for Player 1 (Red) to Orc Explorer 0000 <gen> , offset by ( 0 , 0 ) using Default rotation
Cam
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Camera - Set Player 1 (Red) 's camera Distance to target to 1000.00 over 0.10 seconds
Camera - Set Player 1 (Red) 's camera Angle of attack to 345.00 over 0.10 seconds
Camera - Set Player 1 (Red) 's camera Height Offset to 100.00 over 0.10 seconds
Camera - Set Player 1 (Red) 's camera Rotation to (Facing of Orc Explorer 0000 <gen>) over 0.10 seconds
Foot switch 1
Events
Unit - A unit enters Foot_Switch_open <gen>
Conditions
Actions
Destructible - Remove Foot Switch 1421 <gen>
Destructible - Create a DTfx (Unexpected type: 'destructablecode') at (Center of Foot_Switch_open <gen>) facing (Random angle) with scale 1 and variation 0
Destructible - Open Gate 1422 <gen>
Fog
Events
Map initialization
Conditions
Actions
Game - Set the time of day to 12
Game - Turn the day/night cycle Off
Environment - Set sky to Lordaeron Summer Sky
Player - Add 35 to Player 1 (Red) . Current gold
Game - Display to (All players) the text: * 35 GP has been added to your money bag *
Hero - Add 150 experience to Orc Explorer 0000 <gen> , Hide level-up graphics
Hero - Give gg_item_I000_0001 to Orc Explorer 0000 <gen>
Hero - Give gg_item_rst1_0076 to Orc Explorer 0000 <gen>
Game - Display to (All players) the text: Use Arrow key movement to move around !
Out of work
Events
Unit - A unit enters Bobs_sign <gen>
Conditions
Actions
Game - Display to (All players) the text: * you read the sign *" On vacation "
Out of work cancel
Events
Unit - A unit leaves Bobs_sign <gen>
Conditions
Actions
Trigger - Turn off Out_of_work <gen>
Traveling
Events
Unit - A unit enters Boat_travel <gen>
Conditions
Actions
Unit - Kill Orc Explorer 0000 <gen>
Hero - Instantly revive Orc Explorer 0000 <gen> at (Center of Boat_arive <gen>) , Hide revival graphics
Game - Display to (All players) the text: I ain't givin' a ride back ya' know ...
Tarveling cancel
Events
Unit - A unit leaves Boat_arive <gen>
Conditions
Actions
Player - Add 5 to Player 1 (Red) . Current gold
Game - Display to (All players) the text: Here's fo' ya' troubles on tha coast hea' ... Bye ...
Wait 2 seconds
Captain
Events
Unit - A unit enters Captain_talk <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Cinematic - Turn cinematic mode On for (All players)
Cinematic - Send transmission to (All players) from Captain 0028 <gen> named Henrik : Play No sound and display Halt ! What is your buissnes here ?! Ork ... ? . Modify duration: Add 5.00 seconds and Wait
Cinematic - Send transmission to (All players) from Orc Explorer 0000 <gen> named Kaldrim : Play No sound and display I'm just passing through ... Please ... . Modify duration: Add 3.00 seconds and Wait
Cinematic - Send transmission to (All players) from Captain 0028 <gen> named Henrik : Play No sound and display Well , the toll is 100 GP ! . Modify duration: Add 2.00 seconds and Wait
Cinematic - Send transmission to (All players) from Orc Explorer 0000 <gen> named Kaldrim : Play No sound and display I don't have the money , could I help you with something ? . Modify duration: Add 4.00 seconds and Wait
Cinematic - Send transmission to (All players) from Captain 0028 <gen> named Henrik : Play No sound and display Well , you can help my units to defeat the bandits , by the time they kill them you will be through .... . Modify duration: Add 6.00 seconds and Wait
Cinematic - Send transmission to (All players) from Orc Explorer 0000 <gen> named Henrik : Play No sound and display Deal then ... . Modify duration: Add 2.00 seconds and Wait
Cinematic - Turn cinematic mode Off for (All players)
Captain cancel
Events
Unit - A unit leaves Captain_talk <gen>
Conditions
Actions
Trigger - Turn off Captain <gen>
Humans
Events
Time - Every 60.00 seconds of game time
Conditions
Actions
Unit - Create 3 . Footman for Player 2 (Blue) at (Center of Hum_1 <gen>) facing Default building facing degrees
humans move 1
Events
Unit - A unit enters Hum_1 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Unit - Order (Triggering unit) to Attack-Move To . (Center of Hum_2 <gen>)
humans move 2
Events
Unit - A unit enters Hum_2 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Unit - Order (Triggering unit) to Attack-Move To . (Center of Hum_4 <gen>)
humans move 3
Events
Unit - A unit enters Hum_4 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Trigger - Turn off Untitled_Trigger_001 <gen>
Trigger - Turn off Humans <gen>
Untitled Trigger 001
Events
Time - Every 60.00 seconds of game time
Conditions
Actions
Unit - Create 5 . Bandit for Player 3 (Teal) at (Center of Bandit_1 <gen>) facing Default building facing degrees
Untitled Trigger 002
Events
Unit - A unit enters Bandit_1 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 3 (Teal)
Actions
Unit - Order (Triggering unit) to Attack-Move To . (Center of Bandit_2 <gen>)
Untitled Trigger 003
Events
Unit - A unit enters Bandit_2 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 3 (Teal)
Actions
Unit - Order (Triggering unit) to Attack-Move To . (Center of Bandit_3 <gen>)
End 1
Events
Unit - A unit enters End <gen>
Conditions
Actions
Quest - Display to (All players) the Quest Completed message: You leave the woods and venture to the barrens and the deserts
Game Cache - Store Orc Explorer 0000 <gen> as (Name of Orc Explorer 0000 <gen>) of Category (Unexpected type: 'stringnoformat') in Explorer
Wait 2 seconds
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
door open by troll
Events
Unit - Ogre Warrior 0003 <gen> Dies
Conditions
Actions
Destructible - Open Elven Gate 5398 <gen>
Up Press
Events
Player - Player 1 (Red) Presses the Up Arrow key
Conditions
Actions
Set Variable Set Up = "true"
Up Realeses
Events
Player - Player 1 (Red) Releases the Up Arrow key
Conditions
Actions
Set Variable Set Up = "false"
Down Press
Events
Player - Player 1 (Red) Presses the Down Arrow key
Conditions
Actions
Set Variable Set Down = "true"
Down Realeses
Events
Player - Player 1 (Red) Releases the Down Arrow key
Conditions
Actions
Set Variable Set Down = "false"
Left Press
Events
Player - Player 1 (Red) Presses the Left Arrow key
Conditions
Actions
Set Variable Set Left = "true"
Left Realeses
Events
Player - Player 1 (Red) Releases the Left Arrow key
Conditions
Actions
Set Variable Set Left = "false"
Right Press
Events
Player - Player 1 (Red) Presses the Right Arrow key
Conditions
Actions
Set Variable Set Right = "true"
Right Realeses
Events
Player - Player 1 (Red) Releases the Right Arrow key
Conditions
Actions
Set Variable Set Right = "false"
Movement
Events
Time - Every 0.60 seconds of game time
Conditions
Actions
Set Variable Set Angle = (Facing of Orc Explorer 0000 <gen>)
Set Variable Set Speed = (Current movement speed of Orc Explorer 0000 <gen>)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Up Equal to True
Then - Actions
Set Variable Set Speed = ((Random real number between 20.00 and 50.00) + (Current movement speed of Orc Explorer 0000 <gen>))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Speed Greater than or equal to 0.00
Up Equal to True
Then - Actions
Unit - Order Orc Explorer 0000 <gen> to Move To . ((Position of Orc Explorer 0000 <gen>) offset by (Angle + Speed) towards Angle degrees.)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Up Equal to False
Then - Actions
Set Variable Set Speed = ((Random real number between 20.00 and 50.00) - Speed)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Down Equal to True
Then - Actions
Unit - Order Orc Explorer 0000 <gen> to Stop .
Else - Actions
Else - Actions
Right
Events
Time - Every 0.01 seconds of game time
Conditions
Right Equal to True
Actions
Set Variable Set Angle = (Angle - 1.00)
Unit - Make Orc Explorer 0000 <gen> face Angle over 0 seconds
Right Copy
Events
Time - Every 0.01 seconds of game time
Conditions
Right Equal to True
Speed Greater than or equal to 0.00
Actions
Set Variable Set Angle = (Angle - 1.00)
Unit - Order Orc Explorer 0000 <gen> to Move To . ((Position of Orc Explorer 0000 <gen>) offset by (Angle + Speed) towards Angle degrees.)
Unit - Make Orc Explorer 0000 <gen> face Angle over 0 seconds
Right Copy 2
Events
Time - Every 0.01 seconds of game time
Conditions
Left Equal to True
Actions
Set Variable Set Angle = (Angle + 1.00)
Unit - Make Orc Explorer 0000 <gen> face Angle over 0 seconds
Right Copy Copy
Events
Time - Every 0.01 seconds of game time
Conditions
Left Equal to True
Speed Greater than or equal to 0.00
Actions
Set Variable Set Angle = (Angle + 1.00)
Unit - Order Orc Explorer 0000 <gen> to Move To . ((Position of Orc Explorer 0000 <gen>) offset by (Angle + Speed) towards Angle degrees.)
Unit - Make Orc Explorer 0000 <gen> face Angle over 0 seconds
Camera
Events
Map initialization
Conditions
Actions
Camera - Lock camera target for Player 1 (Red) to Orc Explorer 0000 <gen> , offset by ( 0 , 0 ) using Default rotation
Camera move
Events
Time - Every 0.02 seconds of game time
Conditions
Actions
Camera - Set Player 1 (Red) 's camera Distance to target to 700.00 over 0.10 seconds
Camera - Set Player 1 (Red) 's camera Angle of attack to 345.00 over 0.10 seconds
Camera - Set Player 1 (Red) 's camera Height Offset to 100.00 over 0.10 seconds
Camera - Set Player 1 (Red) 's camera Rotation to (Facing of Orc Explorer 0000 <gen>) over 0.10 seconds
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.