HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

100% same,one of them dont work

07-30-2007, 04:18 PM#1
teddybear
i have 2 triggers,i can say that they are both same but one of them just dont do what its should to do:

The working one:

Trigger:
Blacksmith Learn
Collapse Events
Unit - A unit Uses an item
Collapse Conditions
(Item-type of (Item being manipulated)) Equal to Blacksmith Book
Collapse Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Triggering unit) has buff Profession ) Equal to True
Collapse Then - Actions
Game - Display to (Player group((Owner of (Triggering unit)))) the text: You already have an...
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Triggering unit) has buff Profession ) Not equal to True
Collapse Then - Actions
Unit - Add Blacksmith to (Triggering unit)
Else - Actions


And the one that dont want to work:

Trigger:
Alchemy Learn
Collapse Events
Unit - A unit Uses an item
Collapse Conditions
(Item-type of (Item being manipulated)) Equal to Alchemy Book
Collapse Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Triggering unit) has buff Profession ) Equal to True
Collapse Then - Actions
Game - Display to (Player group((Owner of (Triggering unit)))) the text: You already have an...
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Triggering unit) has buff Profession ) Not equal to True
Collapse Then - Actions
Unit - Add Alchemy to (Triggering unit)
Else - Actions


Does anyone know what worng here? i copyed the triggers and the items,just changed names and this not working...wtf?
07-30-2007, 04:27 PM#2
Histenchist
hmm it's hard to tell when we just see it like this.
Are you sure the Alchemy ability is a unit ability?
Maybe you could upload a test map so we can take a better look at it?
07-30-2007, 04:42 PM#3
teddybear
lol after i posted that iv'e found a way to make its work,nvm ty anyways xD

I wanted to do that heros will get their specific profession when using an specific item but i just did that they will start with a spell book and will choose their profession ther and after that the spell book will be removed xD sorry for free-posting