Topic
Triggers wont work properly
|
I have 2 problems in the editor right now that i dont know how to fix.
1. Owner of Triggering Unit The (Owner of (Triggering Unit)) ==1 Action should normally work like lets say if any unit owned by player 1 enters the certain region. But somehow when an enemy unit enters the region, the triggers i have set starts to run. 2. Spawning Falling Rock. Im trying to make it so when a unit enters a distance between a point, it will spawn one of those falling rocks you often see in the Char missions in Wings of Liberty. I have this trigger: Events: Unit - Any Unit Enters within 4.5 of Falling Rock 1 Local Variables Conditions (Owner of (Triggering unit)) == 1 Actions Trigger - Turn (Current trigger) Off Actor - Create actor Char Falling Boulder at point Falling Rock 1 Is there anything i have done wrong here? |
You mean condition, not action. Doesn't make sense, show us your (full) trigger. Check that there aren't any other triggers causing it. 2. Spawning Falling Rock.State your problem. All you're telling us is what you want to do, not where it's going wrong. |
|
Edited by BloodRayne on 18/02/13 22:11 (GMT)
I also have a trouble of this kind.
I have this map where I have a bonus objective to kill 3 eggs. The first time coding the trigger I got the objective to work. (counter worked in and all) But this time around I set this bonus objective active from the getgo. Now I wanted it to be added when any User controlled unit walked within the specified region for the objective to be triggered. I also created a little transmission for it. but now the trigger does fire. I never get the objective nor the transmissin to take place even when I'm walking through the region. funniest of all is that the Objective does exist, but never gets shown by the specific trigger that does that. I found out about that when I still just killed al 3 eggs and suddenly I had completed the objective. (which up to that point wasn't visible) the trigger that should fire the moment of "showing" the objective is this: Trigger name: Activate B1 - Chrysalis The trigger that is activated in the second to last line will create a minimap ping and reveal the area with a 2 radius for all 3 locations. Please help? I'm up to here with this damn trigger thing and I just can't see why the trigger does fire? EDIT: I just now made 2 more triggers that should fire a failed objective where in each a sepcific unit would die. for both if these triggers I used largely the same structure except ofcourse that the Event is "Unit - Any unit dies" and with conditions: Triggering unit is 'xxx' and triggering owner is USER. Also these triggers seem not to work. even when the unit in question dies (whenever in the game) the objective does not change to be failed. I'm getting the weird idea that for some reason it just isn't registering the events? But why? |



