Hi, hope you can help me, but checking the old records this must be a tricky thing.
But it sounds easy: I want to use the Orc Sentry Ward to create a ward and then
I want to trigger that if an enemy unit comes close to the ward something should happen.
BUT it does not work. I made even a complety new unit to replace the original ward...
Here are my triggers:
So if a uit uses MyItem (the Sentry Ward), the ward (which is a unit) is created at the position
which I pointed to, right?
So I want to set my unit variable ("Einheit") to last created unit.
After some research I found this trigger modification, because there is apparently no event
in which I could use a unit variable... ( I also tried to run it during initialization)
So now trigger 2 should have an event to trigger a sound
if any unit comes close to the ward, but there is just silence
when I move close to it.
Any idea why such simple things are soooo complicated???
But it sounds easy: I want to use the Orc Sentry Ward to create a ward and then
I want to trigger that if an enemy unit comes close to the ward something should happen.
BUT it does not work. I made even a complety new unit to replace the original ward...
Here are my triggers:
So if a uit uses MyItem (the Sentry Ward), the ward (which is a unit) is created at the position
which I pointed to, right?
So I want to set my unit variable ("Einheit") to last created unit.
After some research I found this trigger modification, because there is apparently no event
in which I could use a unit variable... ( I also tried to run it during initialization)
So now trigger 2 should have an event to trigger a sound
if any unit comes close to the ward, but there is just silence
when I move close to it.
Any idea why such simple things are soooo complicated???
Last edited: