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

Please Help!(Easy Question)

Status
Not open for further replies.
Level 20
Joined
Jun 27, 2011
Messages
1,864
I made a short example, hope this helps.

  • Example01
    • Events
      • Player - Player 1 (Red) skips a cinematic sequence
    • Conditions
    • Actions
      • Trigger - Turn off (This trigger)
      • Set Temp_Point = (Random point in (Playable map area))
      • Unit - Create 1 Blood Mage for (Triggering player) at Temp_Point facing Default building facing degrees
      • Set HeroArray[(Player number of (Triggering player))] = (Last created unit)
      • Custom script: call RemoveLocation( udg_Temp_Point )
  • Example02
    • Events
      • Player - Player 1 (Red) Selects a unit
      • Player - Player 2 (Blue) Selects a unit
      • Player - Player 3 (Teal) Selects a unit
      • Player - Player 4 (Purple) Selects a unit
    • Conditions
      • ((Triggering player) is an ally of (Owner of (Triggering unit))) Equal to False
    • Actions
      • Unit - Kill HeroArray[(Player number of (Triggering player))]
 

Attachments

  • Select Kill.w3x
    16.6 KB · Views: 58
Status
Not open for further replies.
Top