Moving Regions

TheCrystal

New Member
Reaction score
36
No, I lost the CD key.

Just have it so that units surround the camera screen that move the same speed as the camera that have immolation or something.
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
With the camera locked to an invisible unit that walks around, you could periodically check the distance between the camera unit and your unit.
If it is "too far"... something happens.
 

WorpeX

New Member
Reaction score
8
Ya, i was thinking that also aceheart, but I couldnt find the trigger that would work that. I found the one that if its too close it does something, but not when its too far. Tried putting in a negative integer but it didn't work, lol.

Do you know what trigger that is?
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
> Tried putting in a negative integer

On a distance???


Well, something like this:

Event:
- Time - Every 1.0 seconds
Conditions:
Actions:
Set PointCamera = Position of Camera unit
Set UnitGroup = Units in (playable map) matching (((Matching unit) is a Hero) equal to true) // or whatever units this should work with
Pick every unit in UnitGroup and do
- Set Point = Position of (Picked unit)
- If (Distance between PointCamera and Point) greater than 1200 then ... do something with (Picked unit)
- Custom script: call RemoveLocation( udg_Point )
CustomScript: call RemoveLocation( udg_PointCamera )
 

WorpeX

New Member
Reaction score
8
OHH, I thought you were thinking of a differant trigger. I was thinking of


Code:
   Events
        Unit - A unit comes within 256.00 of Hawk (Level 1) 0017 <gen>

I'll give that a try though, thanks!
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top