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

TD questions, when im placing a troll headhunter, it starts running around if an enemy is close...

Status
Not open for further replies.
Level 1
Joined
Jan 30, 2017
Messages
2
TD questions, when im placing a troll headhunter, it starts running around if an enemy is close...
i can stack infinite troll headhunters on top of eachother, anyone got a solution? and is there any guide on creep sending with multiple spawn points?
 
Level 11
Joined
Jan 2, 2016
Messages
472
Don't understand what you are saying about the troll headhunters. About the trigger here's an example:
  • Events
    • Map Initialization
  • Conditions
  • Actions
    • Set SpawnRegion[1] = SpawnPoint1
    • Set SpawnRegion[2] = SpawnPoint2
    • Set SpawnRegion[3] = SpawnPoint3
    • Set SpawnRegion[4] = SpawnPoint4
    • Set TargetRegion = RegionWhereUnitsGo
  • Events
    • Time - Every 30 seconds of the game
  • Conditions
  • Actions
    • For each ( Integer A ) from 1 to 4 do actions
      • Unit - Create 1 `Your Unit` at SpawnRegion[For loop Integer A ] facing default building degrees
      • Unit - Order last created unit to move to `TargetRegion`
You can also create an array of different units so each wave spawns another type of unit.
 
Last edited:
Level 1
Joined
Jan 30, 2017
Messages
2
Thanks for the triggers, does those work like LTW? sending to other players? and the headhunters.... uhm. they dont take up a spot on the ground like a normal building would do. ive fixd the running around, but still i can stack them on top of eachother
 

Jampion

Code Reviewer
Level 15
Joined
Mar 25, 2016
Messages
1,327
For the headhunters. You want them to towers and take up a place right?
Make sure, they are buildings:
Stats - Is a Building: true;
No Movement:
Movement - Type: none
Movement - Speed: 0
No Stacking:
Pathing - Pathing Map: Arcance Tower, ...
Pathing Collision Size: 72

For the pathing stuff, you can take a look at other buildings, how big they are.
 
Status
Not open for further replies.
Top