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

How to make soccer game system?

Status
Not open for further replies.
Level 8
Joined
May 13, 2007
Messages
392
Im not sure if this works, but this might be a good way to make ball go with the player.

  • Ball Trigger
  • Events -
    • Unit -A unit comes within 110 range of (ball)
  • Coditions -
  • Actions -
    • Unit - Order (ball) to move to direction of (triggering unit)
This is just an idea. I think you need Jass or really advanced triggers to do a soccer system.

I now fear that someone comes here and says that making a soccer system is easy, making the above look really stupid ...
 
Level 8
Joined
May 13, 2007
Messages
392
Well, you can do this :

  • Ball Trigger
  • Events -
  • Unit -A unit comes within 110 range of (ball)
  • Coditions -
  • Actions -
  • Unit - Order (ball) to move to direction of (triggering unit)
  • Unit - Add ability to (triggering unit)
The ability must have a buff for e.g Ball that means that he controls the ball.

Then do :

  • Pass
  • Event
  • Unit - Unit begins casting an ability
  • Conditions
  • Ability being cast equal to Pass
  • Casting unit has buff of type ball
  • Actions
  • Unit - Order ball to move to (a place. Here it needs variables to set the pass place)
I wish i helped with this...
 
Status
Not open for further replies.
Top