plz trigger help i need to send creep to a random enemy

Shlomi1515

New Member
Reaction score
2
how can i do this is sc2 editor?

Code:
Unit - Move (Triggering unit) instantly to (Center of Region[(Player number of (Random player from Player1Enemies))])

made it in wc3 editor
 

Severon

New Member
Reaction score
7
you want to move them their instantly?
If so there is a move unit instantly trigger within the editor. I believe its just like the one mention above.
 

Flare

Stops copies me!
Reaction score
662
Random player from Player Group is done something like
Trigger:
  • Variable - Set Untitled Variable 001 = (Player (Random integer between 1 and (Number of players in (All players))) from (All players))

The description on Player from Player Group says that the players are indexed based on their addition (and, presumably, removal) from the group so, a random number between 1 and (Numbers of players within the group) should give you a valid index

Just change All Players :3
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top