• 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!

I need a very good trigger-maker

Status
Not open for further replies.
Level 3
Joined
Sep 27, 2008
Messages
32


well i'm working at a warcraft 3 map for which i will need some very advanced triggers these are :

to select one player as the werewolf
that you will win when the werewolf or the person which was werewolf is killed.

any1 able to help?:confused:
 
i thin i migth could do it, it is some about triggers and variables and stuff, but i think i migth the hardest migth be choosing the person..
 
yeah i agree with red it isnt advanced are you remaking Werewolf transalynia? If so find an unprotected version and look through the triggers thus finding the randomness system
 
  • Events
    • Map Initalization
  • Conditions
  • Actions
    • Game - Show game message for all Players: The werewolf will spawn in 30 sec.
    • Create Timer (Look on other pages)
    • Wait: 30 sec
    • Unit - Create Werewolf for player 10 at Werewolf Spawn (Region)
    • Game - Show Game message for all Players: The Werewolf has spawned
  • Events
    • A unit dies
  • Conditions
    • Unit Type of Dying unit equal to Werewolf.
  • Actions
    • Game - Show game message for all players: The Werewolf died!
    • Game - Wait 5 Sec
    • Melee Game - Enable Victory for Player 1-9
    • Melee Game - Enable Defeat for player 10
+ Rep
 
He said that a PLAYER need to have the werewolf, not a computer, a random player from 1-12 (i mean) with variables, everybody could have done that which u made. U migth need to make a lot of variables, im trying to find out which, i think "Unit" variable...
 
Yea 4 player 6 but not player 1-5, they dont go werewolf, they need to, ill try now.
 
A )why are you soo bloody complaining elemental of water.

B )these triggers aren't easy for me.

C )got it?
 
I know the trigger, needs one variable..

Variable:
Intreger (NO ARRAY)

  • Event:
  • Elapsed game time 30 sec
  • Conditions: None
  • Actions:
  • Set YourVariable = Random real intreger number between 1 and 6
  • If/Then/Else
  • If:
  • YourVariable equal to 1
  • Then:
  • Unit - Kill (The guy who runs from werewolf owned by red)
  • Unit - Create 1 werewolf for player 1 (red) at (center of your region)
  • Else:
  • None
  • If/Then/Else
  • If:
  • YourVariable equal to 2
  • Then:
  • Unit - Kill (The guy who runs from werewolf owned by blue)
  • Unit - Create 1 werewolf for player 2 (blue) at (center of your region)
  • Else:
  • None
  • If/Then/Else
  • If:
  • YourVariable equal to 3
  • Then:
  • Unit - Kill (The guy who runs from werewolf owned by teal)
  • Unit - Create 1 werewolf for player 3 (teal) at (center of your region)
  • Else:
  • None
And then go on like this till you reach player 6, it should work but migth lagg because of no script, im sorry bout that but i dont script :D
 
Status
Not open for further replies.
Back
Top