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

Survival Idea

Status
Not open for further replies.
Level 4
Joined
Sep 23, 2010
Messages
88
I need an idea for how to make builder survive zombies. Builder has house (main building), towers, barricades, lumber drop-site (there will be more buildings). So zombies attack after few minutes and how should they attack? Attack move-to builder, just attack builder or any triggered "smart" attacking?
 

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,183
  • Melee Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units of type Builder) and do (Actions)
        • Loop - Actions
          • Set Builder_unit[(Player number of (Owner of (Picked unit)))] = (Picked unit)
  • start
    • Events
      • Time - Elapsed game time is 300.00 seconds
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 10, do (Actions)
        • Loop - Actions
          • Unit - Create 1 Zombies for Neutral Hostile at (Center of (Playable map area)) facing Default building facing degrees
          • Unit - Order (Picked unit) to Attack-Move To (Position of Builder_unit[(Random integer number between 1 and (Number of players in (All players controlled by a User player)))])
 
it leaks two positions Darkgrom which will make crazy lags after a bit of time
Right:
  • Unit - Create 1 Zombies for Neutral Hostile at (Center of (Playable map area)) facing Default building facing degrees
  • Unit - Order (Picked unit) to Attack-Move To (Position of Builder_unit[(Random integer number between 1 and (Number of players in (All players controlled by a User player)))])
These two leaks...
 
Status
Not open for further replies.
Top