- Joined
- Feb 11, 2016
- Messages
- 259
Now is time to help me. I want make trigger that my building (Post Lantern) destroy after finishing reviving a hero. But something in second trigger don't working, please help me. Thank you.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Smrt heroja

Events


Unit - A unit Dies

Conditions


((Triggering unit) is A Hero) Equal to True

Actions


Set tempPoint = (Position of (Triggering unit))


Unit - Create 1 Post Lantern for (Owner of (Triggering unit)) at tempPoint facing Default building facing degrees


Set tempUnit = (Last created unit)


Custom script: call RemoveLocation(udg_tempPoint)
Ponovo radanje heroja

Events


Unit - A unit Finishes reviving

Conditions


(Unit-type of (Triggering unit)) Equal to <select your unit here>

Actions


Unit - Remove tempUnit from the game
I can't do this, I need step by step for this two variables, if someone know and want spend his own time to me, I will be really thank you.
OK, I actually know how to do this, I just was to fast and don't read all this carefully. I have only two more problems. "set tempUnit = (Last created unit)" - I can't find last created unit opinion; and "Unit - Remove tempUnit from the game" - I can't find opinion "tempUnit" (variable what I made). Thank you you helped me a lot.
Why you simply don't said me step by step how to make it? I copy/paste triggers and don't working, there is some error, "nothing returning back..." and something like this, I don't understand, is this my WE old version or what?
Same two problems like I said before, there is no "last created unit", there is no even list with opinions, just few of them and there is no "tempUnit" as a opinion is second trigger, WE don't have it, so can't working with it, copy/paste don't helping, when I open your test map, it's work, and I copy/paste it and my map can't load this. WTF is going on, my WE sucks.
Hahahaha, thank you, but I already know this, I do this and as I said I copy/paste your triggers but don't work.
