• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

3 different triggers

Status
Not open for further replies.
Level 4
Joined
Apr 25, 2008
Messages
60
1) I need a trigger to suspend a player from building some structure twice, so it could build it only once.
2) I need a trigger to make that after first player researched something, other can't.
3) I need a trigger to reveal constructed building after being built to opposing team.

Please attach w3 map with all 3 triggers if you can.

Thanks,
MaskGT
 
i amde those triggers for you.
i dont exactly know whether the 2nd thing you wanted is possible, so i actually wrote a trigger which couldnt work.
Also i didnt care for leaks now because its gui.
Tell me any upcoming questions.
greetings
 

Attachments

Thanks, I will try all triggers then I will end my map.

Pharaoh_ way to prevent double building is much easier :).
EDITED: I can't find Unit - Limit, maybe because my WE is 1.23 atm.

How about to prevent second research for other players, any suuggestions?
 
One more thing. Can anyone give me triggers that changes unit into other.

At example I have Troll Shaman and host types '-change teal' and instead of troll shaman I get 'Advanced Troll Shaman'. Unit is already in play.
 
yes they can, but you have to trigger the trigger somehow in another trigger to let it actually work, otherwise it is just there without doing anything.
for your replace thing there's an event: player - stirng comparison
 
I think the request forum is there for a reason

I don't need something done, I just need so me help with triggers...

yes they can, but you have to trigger the trigger somehow in another trigger to let it actually work, otherwise it is just there without doing anything.
for your replace thing there's an event: player - stirng comparison

  • Events
  • Conditions
    • (Owner of (Triggering unit)) Equal to SS_Player
    • (Unit-type of (Triggering unit)) Equal to Troll Shaman
  • Actions
    • Unit - Replace (Triggering unit) with a Footman using The old unit's relative life and mana
I can't understand what to place in events. Actions says that replace triggering unit, so I used Unit-type of Triggering unit in Conditions. I serached for replace action in events, but I can't find it.
 
Its in Trigger - Add Event to (thistrigger) .... =P

Edit: Oh the wrong, its Unit - Replace Unit

I don't understand what you are saying here? I already made trigger Unit - Replace Unit in Actions and I can't do the same in Events.

Ohh, by the way. I need trigger so that player could use a command -change only after 30 minutes elapsed.

Maybe somethign like this:
  • Events
    • Time - Elapsed game time is (30.00 x 60.00) seconds
  • Conditions
  • Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Owner of (Triggering unit)) Equal to SS_Player
        • (Unit-type of (Triggering unit)) Equal to Troll Shaman
      • Then - Actions
        • Unit - Replace (Triggering unit) with a Footman using The old unit's relative life and mana
      • Else - Actions
I am not sure, because I need that player could only use -change after 30 minutes, maybe I have to type something in Coditions.
 
you make a trigger that fires after 30x60 seconds and has an action that turns the other trigger on:
Trigger - Turn On XXX
you turn the replace trigger off by default at map start.
then in the events of the trigger that is replacing the unit use the following:
Player - Game-Chat-String (or sth. like this)
correct me if i am wrong
greetings
 
Status
Not open for further replies.
Back
Top