- Joined
- Oct 13, 2008
- Messages
- 301
hello
i have a small problem with trigger
I need a no unit requirment like with the mothership in starcraft 2
but there is no no unit requirment in warcraft 3.
So i need to use my imagination this time
I created an upgrade named No Lurker (A player can control only one lurker at the time) and in trigger, ill make it researched or not researched if you have a lurker or no
Here is my problem
I made somes trigger like these one:
Trigger1
StartLurker
Events
Map initialization
Conditions
Actions
Player - Set the current research level of No Lurker to 1 for Player 1 (Red)
Player - Set the current research level of No Lurker to 1 for Player 2 (Blue)
...for all player
trigger 2
LurkerCREATION
Events
Unit - A unit Finishes training a unit
Conditions
(Unit-type of (Trained unit)) Equal to The Lurker
Actions
Player - Set the current research level of No Lurker to 0 for (Owner of (Triggering unit))
Trigger 3
LurkerDie
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to The Lurker
Actions
Player - Set the current research level of No Lurker to 1 for (Owner of (Triggering unit))
My problem: When a lurker is trained, the no lurker requirment doesnt change to level0
So the no lurker condition failed
So i was able to make as much lurker i want
please tell me what is the problem in these trigger
thx
(oh and plz
tell me how to make trigger looking like in the world editor on THW
)
i have a small problem with trigger
I need a no unit requirment like with the mothership in starcraft 2
but there is no no unit requirment in warcraft 3.
So i need to use my imagination this time
I created an upgrade named No Lurker (A player can control only one lurker at the time) and in trigger, ill make it researched or not researched if you have a lurker or no
Here is my problem
I made somes trigger like these one:
Trigger1
StartLurker
Events
Map initialization
Conditions
Actions
Player - Set the current research level of No Lurker to 1 for Player 1 (Red)
Player - Set the current research level of No Lurker to 1 for Player 2 (Blue)
...for all player
trigger 2
LurkerCREATION
Events
Unit - A unit Finishes training a unit
Conditions
(Unit-type of (Trained unit)) Equal to The Lurker
Actions
Player - Set the current research level of No Lurker to 0 for (Owner of (Triggering unit))
Trigger 3
LurkerDie
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to The Lurker
Actions
Player - Set the current research level of No Lurker to 1 for (Owner of (Triggering unit))
My problem: When a lurker is trained, the no lurker requirment doesnt change to level0
So the no lurker condition failed
So i was able to make as much lurker i want
please tell me what is the problem in these trigger
thx
(oh and plz
tell me how to make trigger looking like in the world editor on THW