🏆 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
Test 1.w3x
Variables
Gates
Close Second
Close First
Open Second
Open First
Caves
First Cave
Second Cave
Quest
Take Quest
Quest Head
Complete Quest
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
Q_Quest
quest
No
Q_ReQuest
questitem
No
Quest_Giver
unitcode
No
Quest_Head
effect
No
Close Second
Events
Unit - A unit leaves Gate_One <gen>
Conditions
Actions
Destructible - Close Demonic Gate 0001 <gen>
Close First
Events
Unit - A unit leaves Gate_Two <gen>
Conditions
Actions
Destructible - Close Demonic Gate 0000 <gen>
Open Second
Events
Unit - A unit enters Gate_One <gen>
Conditions
Actions
Destructible - Open Demonic Gate 0001 <gen>
Open First
Events
Unit - A unit enters Gate_Two <gen>
Conditions
Actions
Destructible - Open Demonic Gate 0000 <gen>
First Cave
Events
Unit - A unit enters Cave_Enter_one <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of Cave_exit_two <gen>)
Camera - Pan camera for Player 1 (Red) to (Center of Cave_exit_two <gen>) over 0 seconds
Second Cave
Events
Unit - A unit enters Cave_enter_Two <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of Cave_Exit_one <gen>)
Camera - Pan camera for Player 1 (Red) to (Center of Cave_Exit_one <gen>) over 0 seconds
Take Quest
Events
Player - (Owner of Paladin 0001 <gen>) Selects a unit
Conditions
(Triggering unit) Equal to Knight 0002 <gen>
Actions
Quest - Create a Optional quest titled Ground Help with the description Get the thing on the ground. , using icon path ReplaceableTextures\CommandButtons\BTNCrate.blp
Set Variable Set Q_Quest = (Last created quest)
Quest - Create a quest requirement for Q_Quest with the description -Thing on the ground
Set Variable Set Q_ReQuest = (Last created quest requirement)
Quest - Flash the quest dialog button
Special Effect - Destroy Quest_Head
Quest Head
Events
Map initialization
Conditions
Actions
Special Effect - Create a special effect attached to the overhead (Unexpected type: 'attachpoint') of Knight 0002 <gen> using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
Set Variable Set Quest_Head = (Last created special effect)
Complete Quest
Events
Player - (Owner of Paladin 0001 <gen>) Selects a unit
Conditions
(Triggering unit) Equal to Knight 0002 <gen>
(Item carried by Paladin 0001 <gen> in slot 1) Equal to gg_item_phlt_0004
Actions
Quest - Mark Q_Quest as Completed
Quest - Mark Q_ReQuest as Completed
Item - Remove (Item carried by Paladin 0001 <gen> in slot 1)
Hero - Add 2000 experience to Paladin 0001 <gen> , Show level-up graphics
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.