• 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.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

make a unit walking

Status
Not open for further replies.
Level 3
Joined
Jul 4, 2009
Messages
23
:( it doesn't works...
i write these lines :
time- (create a periodic timer lasting 10.00) expires
conditions
actions
unit- set rally point for (triggering unit) to (center of area 003<gen>)
unit-create 2 Alien for neutral at (center of area 000<gen>) facing 180 degrees
unit-create 2 Alien for neutral at (center of area 001<gen>) facing 180 degrees
unit-create 2 Alien for neutral at (center of area 002<gen>) facing 180 degrees
 
Wait wait...
  • Map Initialization
  • Events
    • Map Initialization
  • Conditions
  • Actions
    • Set Region[1] = Region 000 <gen>
    • Set Region[2] = Region 001 <gen>
    • Set Region[3] = Region 002 <gen>
  • Trigger1
  • Events
    • Time - Every 10.00 seconds of game-time
  • Conditions
  • Actions
    • For each (Integer A) from 1 to 3, do (Actions)
      • Loop - Actions
        • Set Point[IntegerA] = (Center of Region[IntegerA])
        • Unit - Create 2 Alien for (Neutral (Passive/Hostile)) at (Point[IntegerA]) facing default building degrees
        • Custom script: call RemoveLocation (udg_Point[bj_forLoopAIndex])
This would be the first part, but i don't get it; since you make the units spawn with triggers, what do you need the rally point for? :S

Else, use the "Unit - Order Unit targeting a Point".
 
Status
Not open for further replies.
Top