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

Multiplayer Movement System?(Is it possible?)

Status
Not open for further replies.
Level 7
Joined
Mar 22, 2010
Messages
214
Guys....

I just want to ask if movement system is possible to multiplayer?

And also.... Is it possible that when you pick a hero from any hero tavern will be moving by using the movement system?

Like this > You will choose a hero from a tavern > then can you enable to use the movement system after picking? How? Please give me an answer... Thanks!


.mitsuki
 
You will need two triggers for that. One that will check when the players buys the hero and the other, which will pick every unit from the unit group you've set your hero in. I will not make the movement system, because I don't know what way you want it be; I will show you how to do the basic:
  • Trigger1
  • Events
    • Unit - A unit sells a unit
  • Conditions
    • ((Sold unit) is a Hero) Equal to True
  • Actions
    • Unit Group - Add (Sold unit) to MovementGroup
    • Trigger - Turn on Trigger2 <gen>
  • Trigger2
  • Events
    • Time - Every 0.03 seconds of game-time
  • Conditions
  • Actions
    • If (All conditions are true) then do (Actions) else do (Actions)
      • If - Conditions
        • (MovementGroup is empty) Equal to True
      • Then - Actions
        • Trigger - Turn off (This trigger)
      • Else - Actions
        • Unit Group - Pick every unit in MovementGroup and do (Actions)
          • Loop - Actions
            • //Actions here
 
Status
Not open for further replies.
Top