• 🏆 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!

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