• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Follow Unit

Status
Not open for further replies.
Level 4
Joined
Feb 27, 2008
Messages
71
Hello guys :) Could anyone help me with this :)?
If it is possible :p
See here i got a for exampel a chicken and a box, and i want to put the chicken inside the box, and when the chicken move , he still have the box on him, like the box is follow the chicken. Box and chicken is both unit.

I got a picture down there, there it show the chicken (red) go inside the box (black) and when the chicken (red) move the box are still on him :p (black)

Hope any understand it and hope its possible sorry for my english :(
 

Attachments

  • Box.jpg
    Box.jpg
    5 KB · Views: 91
Level 9
Joined
Oct 7, 2007
Messages
599
So you want to make it when the chicken moves inside the box, the box will then move along with the chicken when the chicken moves?

You'll have to have a trigger for this or the box will never follow the chicken close enough for the desired effect. The box can't have pathing and you'll just need a repeating trigger to fire off a timer and have it move the box onto it.
 
Level 13
Joined
Mar 4, 2009
Messages
1,156
you could put the chicken in box maybe? (like ship transport)

or

<box> is ordered targeting a point/unit/no target

when it is no target
(add your condition is box has spell that is not stopping the casting unit - like wind walk)
-order chicken to stop


when target point/unit

-order chicken to right-click to targeted point of issued order/targeted unit of issued order

or

-every 0.10 sec of game
-(your conditions
-move <chicken> instantly to <box>
 
Last edited:
Status
Not open for further replies.
Top