• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] "Push the cart alike"

Status
Not open for further replies.
Level 2
Joined
Nov 4, 2018
Messages
8
Hello, It's been a few years since I last played with World Editor, but I just decided to create something here again. But I got stuck with one thing.

My problem is as follows:
It has two teams. Each player in team have one hero.
Let's say that there's a cart (like push the cart games)
What I need to do is count the number of heroes and if a Team have more heroes in cart area (close to it) move in the opposite direction.

I just can't find a way do to so, anyone have ideas?
If theres already an answer, please point it me, as I could not find it.
 
Level 11
Joined
May 16, 2016
Messages
730
Hello, It's been a few years since I last played with World Editor, but I just decided to create something here again. But I got stuck with one thing.

My problem is as follows:
It has two teams. Each player in team have one hero.
Let's say that there's a cart (like push the cart games)
What I need to do is count the number of heroes and if a Team have more heroes in cart area (close to it) move in the opposite direction.

I just can't find a way do to so, anyone have ideas?
If theres already an answer, please point it me, as I could not find it.
 

Attachments

  • CART.w3x
    20.3 KB · Views: 35
Status
Not open for further replies.
Top