• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Creep Camp

Status
Not open for further replies.
Level 2
Joined
Sep 23, 2005
Messages
9
What do you mean? You want to make creep Acquisitoin range bigger, lets say 300? Cause that you can do in the gamplay constants? There is also a trigger, Units/Set Acquisitoin range.

*EDIT*
Well, I took a better look at it, and I noticed I didn't really help. You can only adjust the guard distance of creeps, wich are only units owned by Neutral hostil. So, with this trigger you can easly set units Acquisitoin range, owned by you, a computer or creeps. Or only creeps. How? I will explain you.

Go to triggers. Select ''Unit group/Pick Every Unit In Unit Group And Do Action''

Now, lets first change the first value. Its default is ''(Units in (Playable map area))''. You can keep it like this if you want all units Acquisitoin range to be the same, otherwise you have to select it and pick ''(Units In Region Owned By Player)''. Its default is player 1. You can select ''(Player 1)'' and select'' ''(Neutral Hostil)'', or any other player you want.

Now we have >selected< the units from who we wanne change the Acquisitoin range. Now we need to select what action to do. Select ''Action'' and change its value to ''Unit/Set Acquisitoin Range''. Again you get to value's to pick from. One says ''unit''. Change this to ''(Picked Unit)''. You also have ''Range''. Change this to a value from your desire. 300 for exampel.

This should do it.
 
Level 6
Joined
Aug 12, 2005
Messages
205
What I want is to make the creeps attacks only when the unit comes within a range less than 200. Normally, you only need to click on the unit and put the target acquisition range to camp: (200). But, when the creeps are created by trigger, how can I do it? :?:

I cannot change the acquisition range of the unit, because reducing the acquisition range will also reduces the attack range. :(
 
Level 2
Joined
Sep 23, 2005
Messages
9
Well in this case you should follow the instructions above, but put 1 new events. You need an event for units entering the game. Use ''Unit/Unit Enter Region''. This wil allow you to set a value fro ''Region''. You can set ''(Entire Map)''.
 
Level 6
Joined
Aug 12, 2005
Messages
205
Event:
:arrow: Every 90 seconds of game time.
Conditions:
:arrow: If number of units in units in REGION owned by Neutral Hostile matching (owner of matching unit equal to Neutral Hostile and matching unit is alive equal to true) equal to 0.
Actions:
:arrow: Create 3 Blue Drake at random point in REGION owned by Neutral Hostile facing 135 degrees.
:arrow: Pick Every units in Units in REGION owned by neutral hostile and set picked unit acquisition range to 150.


Why it is not working? The part to create Blue Drakes is working, but, the part to change the acqusition range is not working. Why? :? Is in the Worldeditor another function to change the acquisition range or that may be causing a malfunction to this trigger? :shock:

Help me plz!
 
Level 6
Joined
Aug 12, 2005
Messages
205
Oh i'm Sorry again. :lol:
I detected the problem. At the trigger of the Map Initialization has an action to create a visibility modify emiting visibility across playable map area for neutral hostile. This is the reason for the action of the Acquisition range not work.
I'm a fool! :D
 
Status
Not open for further replies.
Top