[Log in / Register]
| News | Chat | Pastebin | Donations | Tutorials | Rules | Forums |
| Maps | Skins | Icons | Models | Spells | Tools | Jass | Packs | Hosted Projects | Starcraft II Modding | Starcraft II Resources | Galaxy Wiki |
(Keeps Hive Alive)
Go Back   The Hive Workshop > Warcraft III Modding > World Editor Help Zone


World Editor Help Zone Ask general questions about World Editor features and use in this forum. If you need help fixing a trigger, please post it in Triggers & Scripts. Please review the forum rules before posting.

Closed Thread
 
Thread Tools
Old 06-13-2012, 01:43 AM   #1 (permalink)
Registered User gritpatrick
User
 
Join Date: Jun 2012
Posts: 55
gritpatrick has little to show at this moment (4)
Exclamation Need help with a Hero leveling Trigger

This is my trigger
Leveling
Events
Unit - A unit Gains a level
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Hero - Make (Picked player) Heroes gain 800.00% experience from future kills
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
(Owner of (Leveling Hero)) Equal to (Picked player)
((Picked player) controller) Equal to Computer
(Unit-type of (Leveling Hero)) Equal to Far Seer
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Chain Lightning for (Triggering unit)) Not equal to 5
Then - Actions
Unit - Increase level of Chain Lightning for (Leveling Hero)
Hero - Modify unspent skill points of (Leveling Hero): Subtract 1 points
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
(Level of Chain Lightning for (Leveling Hero)) Equal to 5
(Level of Feral Spirit for (Leveling Hero)) Not equal to 5
Then - Actions
Hero - Learn skill for (Leveling Hero): Feral Spirit
Unit - Increase level of Feral Spirit for (Leveling Hero)
Hero - Modify unspent skill points of (Leveling Hero): Subtract 1 points
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Feral Spirit for (Leveling Hero)) Equal to 5
(Level of Earthquake for (Leveling Hero)) Not equal to 5
Then - Actions
Unit - Add Earthquake to (Leveling Hero)
Unit - Increase level of Earthquake for (Leveling Hero)
Hero - Modify unspent skill points of (Leveling Hero): Subtract 1 points
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Earthquake for (Leveling Hero)) Equal to 5
(Level of Far Sight for (Leveling Hero)) Not equal to 5
Then - Actions
Unit - Add Far Sight to (Leveling Hero)
Unit - Increase level of Far Sight for (Leveling Hero)
Hero - Modify unspent skill points of (Leveling Hero): Subtract 1 points
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Far Sight for (Leveling Hero)) Equal to 5
Then - Actions
Hero - Learn skill for (Leveling Hero): Attribute Bonus
Unit - Increase level of Attribute Bonus for (Leveling Hero)
Hero - Modify unspent skill points of (Leveling Hero): Subtract 1 points
Else - Actions
Do nothing
Else - Actions
Do nothing



For some reason when it learns Feral Spirit to lv 5 it wont learn Earth quake or fore sight when i tried changing it.

Help plz !!!!
gritpatrick is offline  
Old 06-13-2012, 01:45 AM   #2 (permalink)
Registered User gritpatrick
User
 
Join Date: Jun 2012
Posts: 55
gritpatrick has little to show at this moment (4)
Sorry for the double post im new to this site sorry T_T
gritpatrick is offline  
Old 06-13-2012, 12:27 PM   #3 (permalink)
Registered User defskull
ϟƘƦƖ|ןΣ✘
 
defskull's Avatar
 
Join Date: Mar 2008
Posts: 7,531
defskull has a brilliant future (1282)defskull has a brilliant future (1282)defskull has a brilliant future (1282)defskull has a brilliant future (1282)
Zephyr Contest #9 - Winner: Stringed Shuriken: An assassin is always working like a trickster. This entry proves the theory, as defskull managed to integrate the fictional lore of the human legacy into a single, virtual ability. Strike fast, die instantly! 
Quote:
Originally Posted by gritpatrick View Post
This is my trigger
Leveling
Events
Unit - A unit Gains a level
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Hero - Make (Picked player) Heroes gain 800.00% experience from future kills
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
(Owner of (Leveling Hero)) Equal to (Picked player)
((Picked player) controller) Equal to Computer
(Unit-type of (Leveling Hero)) Equal to Far Seer
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Chain Lightning for (Triggering unit)) Not equal to 5
Then - Actions
Unit - Increase level of Chain Lightning for (Leveling Hero)
Hero - Modify unspent skill points of (Leveling Hero): Subtract 1 points
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
(Level of Chain Lightning for (Leveling Hero)) Equal to 5
(Level of Feral Spirit for (Leveling Hero)) Not equal to 5
Then - Actions
Hero - Learn skill for (Leveling Hero): Feral Spirit
Unit - Increase level of Feral Spirit for (Leveling Hero)
Hero - Modify unspent skill points of (Leveling Hero): Subtract 1 points
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Feral Spirit for (Leveling Hero)) Equal to 5
(Level of Earthquake for (Leveling Hero)) Not equal to 5
Then - Actions
Unit - Add Earthquake to (Leveling Hero)
Unit - Increase level of Earthquake for (Leveling Hero)
Hero - Modify unspent skill points of (Leveling Hero): Subtract 1 points
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Earthquake for (Leveling Hero)) Equal to 5
(Level of Far Sight for (Leveling Hero)) Not equal to 5
Then - Actions
Unit - Add Far Sight to (Leveling Hero)
Unit - Increase level of Far Sight for (Leveling Hero)
Hero - Modify unspent skill points of (Leveling Hero): Subtract 1 points
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Far Sight for (Leveling Hero)) Equal to 5
Then - Actions
Hero - Learn skill for (Leveling Hero): Attribute Bonus
Unit - Increase level of Attribute Bonus for (Leveling Hero)
Hero - Modify unspent skill points of (Leveling Hero): Subtract 1 points
Else - Actions
Do nothing
Else - Actions
Do nothing


For some reason when it learns Feral Spirit to lv 5 it wont learn Earth quake or fore sight when i tried changing it.

Help plz !!!!
Here is your fixed trigger.

What are you trying to achieve ?
Explain carefully.
defskull is offline  
Closed Thread

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 02:37 PM.





Powered by vBulletin
Copyright 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.5.1 PL2
Copyright © Ralle