Tutorial by Im_On_56k
-------------------------------------------------------------------------------
I will include a tutorial for most FAQ about triggers ect. I will edit this post each time i add something new unless it gets to more than 2 pages.
-------------------------------------------------------------------------------
Q: Cant get EXP after level 5 fighting creeps.
A: Go to Advanced, Creep Reduction table, set the 0 at the end to the % of the total income exp percent.
-------------------------------------------------------------------------------
Q: How do I get units to be created at a certain point?
A: Action: Unit-Create- Create #ofunits *unit* at *region*
Example
Event: Elasped time is 30 seconds.
Conditions: None
Action: Unit Create- Create 3 ghouls at CreepSpawn1
-------------------------------------------------------------------------------
Q: My hero wont go past level 10?
A: Advanced, Gamplay Constants, Max Hero Level, set it as high as you want the level of your heros to go.
-------------------------------------------------------------------------------
Q: How do I make units move to a certain point?
A: Create 2 regions one for the unit to enter to move from and another region to move to.
Event: Unit enters a region
Condition: Entering unit equal to Player12(brown) <-optional
Unit-order entering unit to *move* to CreepMove2
-------------------------------------------------------------------------------
Q: How can i create a leadorboard for kills?
A: Say your game has a total of 3 players max able to play, go into varibles and create a new varible, make your varible of type integer. Rename the integer varible1 to player1kills. Then make another for player2kills than player3kills. Then do the trigger
Event-Elapsed game time is 0.10 seconds.
Conditions: none
Action- Leadorboard Create-Create a leadorboard labled Player Kills
Action: Add player1(red) to last created leadorboard with value 0.
Action: Add player2(blue) to last created leadorboard with value 0.
Action: Add player3(teal) to last created leadorboard with value 0.
---New Trigger---
Event-A unit dies.
Condition-Owner of killing unit equal to player1(red)
Action-Set Varible Player1kills=player1kills +1
Action-Change value for player1(red) to player1kills
-Do the same for player 2 and 3-
-------------------------------------------------------------------------------
Q: How do i create a countdown timer?
A: Go into varibles create a new varible for timer. Do the trigger.
Event: Elasped game time or w.e
Condition: none
Action: Countdown Timer- Create countdown timer for *timer*
Action:Start *timer* as a *repeating*one-shot* timer for *seconds*
-------------------------------------------------------------------------------
Q: What is the max size of map can i have?
A: 4mb
-------------------------------------------------------------------------------
Q: What do conditions do?
A: When the trigger is ready to run before it runs it checks the conditions if it matches what is happening in the game. If it is different that what happens in the game it won't run, if its the same, it will run the trigger.
-------------------------------------------------------------------------------
Q: If i have a different world editor will it let other players that don't have the world editor i have still beable to play the games i made on it?
A: Yes
-------------------------------------------------------------------------------
Q: What are some other enhanced versions of WE(world editor)
A: World Editor Unlimited. You can get this by going to wc3sear.ch then go to Tools, go to the last game and there are 3 different enhanced version of world editor there.
-------------------------------------------------------------------------------
Q: Can i add cheats to my game?
A: Yes, depending on what you have in mind.
-------------------------------------------------------------------------------
Q: Am i able to put different files on my map for people to download such as an exe file.
A: No
-------------------------------------------------------------------------------
Q: How do I change the amount of gold in a gold mine?
A: Go to unit brush. Click the selection button. Double click on the gold mine. Set amount.
-------------------------------------------------------------------------------
Q: Am I able to change what a unit looks like, attack, attack speed, movement and all of that? If yes how?
A: Yes, go to Object editor and customize your units there.
-------------------------------------------------------------------------------
Q: How can I open a gate?
A: Open trigger editor, create a new trigger.
Event: Elapsed game time equal to 0.10 seconds.
Conditions: None
Actions: Destructable Open/Close Gate.
-------------------------------------------------------------------------------
Last Updated: Never
-------------------------------------------------------------------------------
I will include a tutorial for most FAQ about triggers ect. I will edit this post each time i add something new unless it gets to more than 2 pages.
-------------------------------------------------------------------------------
Q: Cant get EXP after level 5 fighting creeps.
A: Go to Advanced, Creep Reduction table, set the 0 at the end to the % of the total income exp percent.
-------------------------------------------------------------------------------
Q: How do I get units to be created at a certain point?
A: Action: Unit-Create- Create #ofunits *unit* at *region*
Example
Event: Elasped time is 30 seconds.
Conditions: None
Action: Unit Create- Create 3 ghouls at CreepSpawn1
-------------------------------------------------------------------------------
Q: My hero wont go past level 10?
A: Advanced, Gamplay Constants, Max Hero Level, set it as high as you want the level of your heros to go.
-------------------------------------------------------------------------------
Q: How do I make units move to a certain point?
A: Create 2 regions one for the unit to enter to move from and another region to move to.
Event: Unit enters a region
Condition: Entering unit equal to Player12(brown) <-optional
Unit-order entering unit to *move* to CreepMove2
-------------------------------------------------------------------------------
Q: How can i create a leadorboard for kills?
A: Say your game has a total of 3 players max able to play, go into varibles and create a new varible, make your varible of type integer. Rename the integer varible1 to player1kills. Then make another for player2kills than player3kills. Then do the trigger
Event-Elapsed game time is 0.10 seconds.
Conditions: none
Action- Leadorboard Create-Create a leadorboard labled Player Kills
Action: Add player1(red) to last created leadorboard with value 0.
Action: Add player2(blue) to last created leadorboard with value 0.
Action: Add player3(teal) to last created leadorboard with value 0.
---New Trigger---
Event-A unit dies.
Condition-Owner of killing unit equal to player1(red)
Action-Set Varible Player1kills=player1kills +1
Action-Change value for player1(red) to player1kills
-Do the same for player 2 and 3-
-------------------------------------------------------------------------------
Q: How do i create a countdown timer?
A: Go into varibles create a new varible for timer. Do the trigger.
Event: Elasped game time or w.e
Condition: none
Action: Countdown Timer- Create countdown timer for *timer*
Action:Start *timer* as a *repeating*one-shot* timer for *seconds*
-------------------------------------------------------------------------------
Q: What is the max size of map can i have?
A: 4mb
-------------------------------------------------------------------------------
Q: What do conditions do?
A: When the trigger is ready to run before it runs it checks the conditions if it matches what is happening in the game. If it is different that what happens in the game it won't run, if its the same, it will run the trigger.
-------------------------------------------------------------------------------
Q: If i have a different world editor will it let other players that don't have the world editor i have still beable to play the games i made on it?
A: Yes
-------------------------------------------------------------------------------
Q: What are some other enhanced versions of WE(world editor)
A: World Editor Unlimited. You can get this by going to wc3sear.ch then go to Tools, go to the last game and there are 3 different enhanced version of world editor there.
-------------------------------------------------------------------------------
Q: Can i add cheats to my game?
A: Yes, depending on what you have in mind.
-------------------------------------------------------------------------------
Q: Am i able to put different files on my map for people to download such as an exe file.
A: No
-------------------------------------------------------------------------------
Q: How do I change the amount of gold in a gold mine?
A: Go to unit brush. Click the selection button. Double click on the gold mine. Set amount.
-------------------------------------------------------------------------------
Q: Am I able to change what a unit looks like, attack, attack speed, movement and all of that? If yes how?
A: Yes, go to Object editor and customize your units there.
-------------------------------------------------------------------------------
Q: How can I open a gate?
A: Open trigger editor, create a new trigger.
Event: Elapsed game time equal to 0.10 seconds.
Conditions: None
Actions: Destructable Open/Close Gate.
-------------------------------------------------------------------------------
Last Updated: Never


