There is something wrong with this triggers:
Human 1
Events
Unit - Lever 0538 <gen> Is attacked
Conditions
(Unit-type of (Triggering unit)) Equal to Lever
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)...
How to make cinematic chit-chat between Uther and Villager after
Events
Unit - A unit enters Region 001 <gen>
In this trigger
Call to Arms Human
Events
Unit - A unit enters Region 001 <gen>
Conditions
(Region 002 <gen> contains Uther 0239 <gen>) Equal to...
I could not pick destructible as unit in that trigger, so i made custom unit from base unit (randomy clicked) granary. And i changed its model into lever
Guyz, guyz...
Now you confused me! If I make integer variable I cant open/close door. If i make real i cant set
Lever 1
Events
Unit - Lever 0537 <gen> Is attacked
Conditions
(Unit-type of (Triggering unit)) Equal to Lever
Actions
If (All Conditions...
Cool, now i made
Lever
Events
Unit - Lever 0537 <gen> Is attacked
Conditions
(Unit-type of (Triggering unit)) Equal to Lever
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions...
Lever
Events
Unit - Lever 0537 <gen> Is attacked
Conditions
(Unit-type of (Triggering unit)) Equal to Lever
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Then - Actions...
Lever gets attacked
Events
Unit - A unit is attacked
Conditions
Unit - Unit-type of (Triggering unit) Equal to Lever
Actions
If (multiple conditions) then (then actions) else (else actions)
If - conditions
Lever_Set = 0
then - actions
Set Lever_Set = 1
else -...
I made lever something like this (cant copy GUI coz no WE on this comp...)
When lever dies, gates will open.
But i want lever wich can open and close door.
Will:
Set Unit[33] = Worker (Blood Elf) 0482 <gen>
Unit - Move Unit[33] instantly to (Position of Gold Mine 0354 <gen>)
Make AI worker to collect $$ from gold mine?
I'm trying to make AI for map and doing loads of $#!T$ to create it.
Goal of that trigger is:
If enemy destroy gate of Elven base, they will not move+run in circle, their position will be locked.
I did one more thing:
High Elf Attacked
Events
Time - Every 0.01 seconds of game time...