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

Status
Not open for further replies.
Level 12
Joined
Nov 3, 2013
Messages
989
  • Untitled Trigger 003
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • ((Triggering unit) is in unitgroupVar Equal to True
    • Actions
      • Unit - Order (Triggering unit) to Move To region
 
Level 4
Joined
Apr 26, 2014
Messages
49
Try Advanced -> Gameplay Constants and set Creep return Time/range to a really high number.

hmmm i really have a high number but it doesn't work.

  • Untitled Trigger 003
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • ((Triggering unit) is in unitgroupVar Equal to True
    • Actions
      • Unit - Order (Triggering unit) to Move To region

i have different triggers for my regions.. :)
my trigger on the region are below ↓
btw, can you help me ?
-------------------------------------------------------------------

Hello guyz, i have a region trigger like this:
can you make me some instruction of what will i do next to make the unit cast a spell?
  • initialization walk
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set RegionArray[0] = Enemy Respawn <gen>
      • Set RegionArray[1] = Break 1 <gen>
      • Set RegionArray[2] = Break 2 <gen>
      • Set RegionArray[3] = Break 3 <gen>
      • Set RegionArray[4] = Break 4 <gen>
      • Set RegionArray[5] = Break 5 <gen>
      • Set RegionArray[6] = Break 6 <gen>
      • Set RegionArray[7] = Break 7 <gen>
      • Set RegionArray[8] = Break 8 <gen>
      • Set RegionArray[9] = Break 9 <gen>
      • Set RegionArray[10] = Break 10 <gen>
      • Set RegionArray[11] = EnemyEndGame <gen>
 
Last edited:
Level 8
Joined
Mar 22, 2008
Messages
422
I currently do not have access to an editor sorry. But i will try write a general idea.

So first. Keep your "Init walk"

Then make a separate trigger that goes of the event "Unit enters a region"

make the action

Unit enters region x-y
if then else
condition
region equal to Region x
action
Set unit group 1
else
if then else
condition
region equal to Region x
action
Set unit group 1
else

Then have another trigger based of time and make it so

every 1 second game time

if then else
if in unit group 1 send it to unit 1's end

then if then else for unit 2's end etc etc

etc "This is going on the basis that all units don't share 1 spawn.

It might not be the most effective system but it would work.
 
Status
Not open for further replies.
Top