- Joined
- Nov 12, 2006
- Messages
- 765
In my map, their are many different worlds. Each world is different, some desert, some snow, some normal. I want somthing so that if a unit enters a snow planet, it becomes much slower and attacks slower *because its so cold!*, except if its a Galactic Marine *because they have snow armor*. I have made 2 different attempts.
1. i tried to make it so that if a unit enters region, it will get the buff "cold". however to my suprise, i failed to find a "add buff" action trigger, and only found a "remove buff" trigger.
2. i made an invisible unit on nutruel hostile, with the ability "frozen", which has a big range, very short cool down and no mana, so essentially any unit near it *on the planet* will get hit by the ability *based on slow*. then i tried to trigger it, so that if a unit gets hit by an ability = to *frozen*, it will remove that ability if its a Galactic Marine. however when i tried this it simply did not work.
Events
Unit - A unit Finishes casting an ability
Conditions
And - All (Conditions) are true
Conditions
(Ability being cast) Equal to Frozen
(Unit-type of (Target unit of ability being cast)) Equal to Galactic Marine
Actions
Game - Display to (All players) the text: Trigger Working
Unit - Remove Slow buff from (Target unit of ability being cast)
i incerted the "Game - display to..." action to see if the conditions/event was lineing up and it wasnt. so can anyone tell me what im doing wrong? and/or better ways to make a unit become less effective in certain locations *if its not a galactic marine*? this is really stumpin meh.
ALSO
3. often times in other triggers i cant get a trigger to work when i use these gui triggers (event, unit finishes casting ability - action, target unit of ability being cast), they dont work. even thou in action it says that trigger is made for that event. what am i doing wrong here as well?
1. i tried to make it so that if a unit enters region, it will get the buff "cold". however to my suprise, i failed to find a "add buff" action trigger, and only found a "remove buff" trigger.
2. i made an invisible unit on nutruel hostile, with the ability "frozen", which has a big range, very short cool down and no mana, so essentially any unit near it *on the planet* will get hit by the ability *based on slow*. then i tried to trigger it, so that if a unit gets hit by an ability = to *frozen*, it will remove that ability if its a Galactic Marine. however when i tried this it simply did not work.
Events
Unit - A unit Finishes casting an ability
Conditions
And - All (Conditions) are true
Conditions
(Ability being cast) Equal to Frozen
(Unit-type of (Target unit of ability being cast)) Equal to Galactic Marine
Actions
Game - Display to (All players) the text: Trigger Working
Unit - Remove Slow buff from (Target unit of ability being cast)
i incerted the "Game - display to..." action to see if the conditions/event was lineing up and it wasnt. so can anyone tell me what im doing wrong? and/or better ways to make a unit become less effective in certain locations *if its not a galactic marine*? this is really stumpin meh.
ALSO
3. often times in other triggers i cant get a trigger to work when i use these gui triggers (event, unit finishes casting ability - action, target unit of ability being cast), they dont work. even thou in action it says that trigger is made for that event. what am i doing wrong here as well?