- Joined
- Aug 5, 2006
- Messages
- 126
DISCLAIMER: I'm not so sure how it works again, so please bear with me and have kind but critical feedback...since I can't get my computer to Normal Mode I can't test it again, how can I make the trigger tags?
FAQs
Q: What the Hell is a Chance Trigger?
A: A Chance trigger is a trigger where you get to rely on "pure" luck....Which means you need to get the "rare" stuff by chance from any other RPG game like Diablo II, KotoR, RF, Ran Online etc.
Q:Whats it good at?
A: Its the perfect trigger if your going to make "Casino" maps, RPGs that involve cooking similar to RuneScape, you can make a monster explode when the trigger is pulled, gives you the real understanding of either you accomplish or fail in raising crops like Harvest Moon....
Q:What do I need?
A: Do you even need a Superior!?!? its pretty obvious....
1 - Warcraft III: Frozen Throne...
Why: because thats where you'll put the system in, its also the game you manipulating *doh! You'll need TFT, because RoC does not support Variables unless programed by a third-party application...You can buy it at a low low price.....since its like....3 years...
2 - Warcraft III: World Editor
Why: Its the tool used for making maps, and custom Triggers......Its also the core where almost every aspect of Wc3 can be made....
3 - Some good experience of the world editor
Why: If your a new guy in the editor, you WILL be confused about any info this user gives out, so you'll need to understand many aspects of the editor......
Done with that? Good!
----
How to have the "Chance" trigger.....
"uhh...where will I start?", OK, since your an intermediate user of the editor, now its time for you to make the Chance trigger....due to its many uses (Actually, you can use the chance trigger in MANY WAYS!!! OMG!!) I'll start by making an "Open Christmas Presents!!" System....a system where a random item can be made from clicking on a 1 use only item
....Here are the stuff you need to make it working....
1. Think of at least 10 (more or less, but not 2 because its really boring..) items for you to place...Heres an example list but you can put any item you wish......You'll need this in case you only want to set out Custom items on your map....
Example List..
- Claws of Attack
- Voodoo Doll
- Skull of Gul'dan
- Wirt's Leg
- Potion of Greater Healing
- Key of Three Moons
- Monster Lure
- Healing Wards
- Anti-Magic Potion
- Neclace of Spell Immunity
2. Go to the Item Editor from the Object Editor, Make an Item Called "Present" and make the Goblin Merchant Sell it or scatter the "Present" items to the map....make sure they are perishable and are only 1 in amount....
3. Go to Triggers and access "Variables", make a "Real" Variable named "Present Number"...
4. Make a Trigger like this.....
4. Now we want to make the Presents have Items just like getting an actual gift for your Birthday (And not even the guy who made the trigger, especially ME!! and other people who follow it....), though you do know what Items come out from the presents, you actually don't know if your lucky enough to get the present you always wanted....its like opening only 1 out of 10 gifts thats hiding a PSP on one of them....
OK, so heres the info....its not that hard, its just REALLY LONG!!!
{-Negative} Note - OK, so I don't know what the action was truly named if its now placed as a trigger, but it is based on "Hero - Create An Item For Hero..."
"I updated the trigger code, and I also placed those -------------- lines on purpose so that you can separate the Actions, All you have to do is to copy the first If/Then/Else Action and Paste it on top of the Actions tab"
Also, please separate the If/Then/Else Triggers by not putting them in "Else", otherwise, it won't work
Now for the good part.....make the Goblin Merchant sell the present for 3000 gold and start with 3000 gold or scatter the presents item in the whole map.....I don't care what the Presents Look like, as long as theres a system that makes it work, to make it more Elder Scrolls traditional, name it (Wrapped Item) or something....
OK, then....thats all you need for the presents system, but as I said the Chance Trigger has many uses of its own.....you can also use it for setting up a triggered Passive ability....like if you get hit, a Doom guard will appear near you to protect you.....
If you can either improve or give me some corrections, I'll be happy for that, or if you like it, you can make your own system from the chance trigger....
Also, please forgive me for bad ways of setting up a trigger in a ["trigger"] since I don't really know much about the Triggers option like the other expert guys who show tutorials are using....
If there are any misunderstandings in this thread, please inform me....
FAQs
Q: What the Hell is a Chance Trigger?
A: A Chance trigger is a trigger where you get to rely on "pure" luck....Which means you need to get the "rare" stuff by chance from any other RPG game like Diablo II, KotoR, RF, Ran Online etc.
Q:Whats it good at?
A: Its the perfect trigger if your going to make "Casino" maps, RPGs that involve cooking similar to RuneScape, you can make a monster explode when the trigger is pulled, gives you the real understanding of either you accomplish or fail in raising crops like Harvest Moon....
Q:What do I need?
A: Do you even need a Superior!?!? its pretty obvious....
1 - Warcraft III: Frozen Throne...
Why: because thats where you'll put the system in, its also the game you manipulating *doh! You'll need TFT, because RoC does not support Variables unless programed by a third-party application...You can buy it at a low low price.....since its like....3 years...
2 - Warcraft III: World Editor
Why: Its the tool used for making maps, and custom Triggers......Its also the core where almost every aspect of Wc3 can be made....
3 - Some good experience of the world editor
Why: If your a new guy in the editor, you WILL be confused about any info this user gives out, so you'll need to understand many aspects of the editor......
Done with that? Good!
----
How to have the "Chance" trigger.....
"uhh...where will I start?", OK, since your an intermediate user of the editor, now its time for you to make the Chance trigger....due to its many uses (Actually, you can use the chance trigger in MANY WAYS!!! OMG!!) I'll start by making an "Open Christmas Presents!!" System....a system where a random item can be made from clicking on a 1 use only item
....Here are the stuff you need to make it working....
1. Think of at least 10 (more or less, but not 2 because its really boring..) items for you to place...Heres an example list but you can put any item you wish......You'll need this in case you only want to set out Custom items on your map....
Example List..
- Claws of Attack
- Voodoo Doll
- Skull of Gul'dan
- Wirt's Leg
- Potion of Greater Healing
- Key of Three Moons
- Monster Lure
- Healing Wards
- Anti-Magic Potion
- Neclace of Spell Immunity
2. Go to the Item Editor from the Object Editor, Make an Item Called "Present" and make the Goblin Merchant Sell it or scatter the "Present" items to the map....make sure they are perishable and are only 1 in amount....
3. Go to Triggers and access "Variables", make a "Real" Variable named "Present Number"...
4. Make a Trigger like this.....
- Event
- Wait - Every 0.02 seconds of Game Time
- Conditions
- Actions
- Set Present Number to Present Number + 1
- Action - If/Then/Else Do Multiple Actions
- If - Conditions
- Present Number More Than 10
- Then - Actions
- Set Present Number to 0
- Else - Actions
- Do Nothing
4. Now we want to make the Presents have Items just like getting an actual gift for your Birthday (And not even the guy who made the trigger, especially ME!! and other people who follow it....), though you do know what Items come out from the presents, you actually don't know if your lucky enough to get the present you always wanted....its like opening only 1 out of 10 gifts thats hiding a PSP on one of them....
OK, so heres the info....its not that hard, its just REALLY LONG!!!
- Events
- Player - A unit owned by Player 1 uses an item
- Conditions
- Boolean - Item being Manipulated Equal to Present
- Actions
- Multiple Actions If/Then/Else Do Multiple Actions
- If - Conditions
- Real - Present Number equal to 1
- Then - Actions
- Hero - Create an item for Triggering Unit called "Claws of Attack"
- Else - Actions
- Do Nothing
- ---------------------------------------
- - If/Then/Else Do Multiple Actions
- IF Conditions
- Real - Present Number equal to 2
- Then - Actions
- Hero - Create an item for Triggering Unit called "Voodoo Doll"
- Else - Actions
- Do Nothing
- ---------------------------------------
- If/Then/Else Do Multiple Actions
- If - Conditions
- Real - Present Number equal to 3
- Then - Actions
- Hero - Create an item for Triggering Unit called "Skull of Gul'dan"
- Else - Actions
- Do Nothing
- ---------------------------------------
- If/Then/Else Do Multiple Actions
- If - Conditions
- Real - Present Number equal to 4
- Then - Actions
- Hero - Create an item for Triggering Unit called "Wirt's Leg"
- Else - Actions
- Do Nothing
- ---------------------------------------
- If/Then/Else Do Multiple Actions
- If - Conditions
- Real - Present Number equal to 5
- Then - Actions
- Hero - Create an item for Triggering Unit called "Potion Of Healing"
- Else - Actions
- - Do Nothing
- ---------------------------------------
- If/Then/Else Do Multiple Actions
- If - Conditions
- Real - Present Number equal to 6
- Then - Actions
- Hero - Create an item for Triggering Unit called "Key of Three Moons"
- ELSE Actions
- Do Nothing
- ---------------------------------------
- If/Then/Else Do Multiple Actions
- If - Conditions
- Real - Present Number equal to 7
- Then - Actions
- Hero - Create an item for Triggering Unit called "Monster Lure"
- Else - Actions
- Do Nothing
- ---------------------------------------
- If/Then/Else Do Multiple Actions
- If - Conditions
- Real - Present Number equal to 8
- Then - Actions
- Hero - Create an item for Triggering Unit called "Healing Wards"
- Else Actions
- Do Nothing
- ---------------------------------------
- If/Then/Else Do Multiple Actions
- If -Conditions
- Real - Present Number equal to 9
- THEN Actions
- Hero - Create an item for Triggering Unit called "Anti-Magic Potion"
- Else - Actions
- Do Nothing
- ---------------------------------------
- If/Then/Else Do Multiple Actions
- If - Conditions
- Real - Present Number equal to 10
- Then - Actions
- Hero - Create an item for Triggering Unit called "Necklace of Spell Immunity"
- Else - Actions
- Do Nothing
{-Negative} Note - OK, so I don't know what the action was truly named if its now placed as a trigger, but it is based on "Hero - Create An Item For Hero..."
"I updated the trigger code, and I also placed those -------------- lines on purpose so that you can separate the Actions, All you have to do is to copy the first If/Then/Else Action and Paste it on top of the Actions tab"
Also, please separate the If/Then/Else Triggers by not putting them in "Else", otherwise, it won't work
Now for the good part.....make the Goblin Merchant sell the present for 3000 gold and start with 3000 gold or scatter the presents item in the whole map.....I don't care what the Presents Look like, as long as theres a system that makes it work, to make it more Elder Scrolls traditional, name it (Wrapped Item) or something....
OK, then....thats all you need for the presents system, but as I said the Chance Trigger has many uses of its own.....you can also use it for setting up a triggered Passive ability....like if you get hit, a Doom guard will appear near you to protect you.....
If you can either improve or give me some corrections, I'll be happy for that, or if you like it, you can make your own system from the chance trigger....
Also, please forgive me for bad ways of setting up a trigger in a ["trigger"] since I don't really know much about the Triggers option like the other expert guys who show tutorials are using....
If there are any misunderstandings in this thread, please inform me....
Last edited: