Trigger:
- Increase Paladin Abilities to 2
- Events
- Dialog - A dialog button is clicked for PaladinAbilities2
- Conditions
- Or - Any (Conditions) are true
- Conditions
- (Clicked dialog button) Equal to PaladinAbilitiesLevel2[1]
- (Clicked dialog button) Equal to PaladinAbilitiesLevel2[2]
- (Clicked dialog button) Equal to PaladinAbilitiesLevel2[3]
- Conditions
- Or - Any (Conditions) are true
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Clicked dialog button) Equal to PaladinAbilitiesLevel2[1]
- Then - Actions
- Unit - Set level of Holy Light Paladin for PlayerUpgradingSkills[(Player number of (Triggering player))] to 2
- Special Effect - Create a special effect at (Position of PlayerUpgradingSkills[(Player number of (Triggering player))]) using Abilities\Spells\Items\AIem\AIemTarget.mdl
- Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Clicked dialog button) Equal to PaladinAbilitiesLevel2[2]
- Then - Actions
- Unit - Set level of Blessing of the Gods for PlayerUpgradingSkills[(Player number of (Triggering player))] to 2
- Special Effect - Create a special effect at (Position of PlayerUpgradingSkills[(Player number of (Triggering player))]) using Abilities\Spells\Items\AIem\AIemTarget.mdl
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Clicked dialog button) Equal to PaladinAbilitiesLevel2[3]
- Then - Actions
- Unit - Set level of Divine Touch for PlayerUpgradingSkills[(Player number of (Triggering player))] to 2
- Special Effect - Create a special effect at (Position of PlayerUpgradingSkills[(Player number of (Triggering player))]) using Abilities\Spells\Items\AIem\AIemTarget.mdl
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
As you can see, everytime a player clicks one of those 3 buttons that special effect is created. If i destroy it immediately, then they wont see the effect. If I use 'waits' then its not MUI. I don't see how to use timers here either..
Thanks in advance, +rep.