Set creep on map

Aiden

Member
Reaction score
0
Easy one i guess.
but im trying to do the big green spot point in the map like dota.
Creeps appears in sort time after dying.

i saw some deafult warcraft maps, and i really dont understad how works.
the creeps appears with blue color.
 

evilwolf

Member
Reaction score
11
I presume you don't know too much about map making so just do this:

Event- A unit dies
Condition- Owner of Dying unit is equal to Neutral Hostile
Action- Wait 30 seconds
Unit- Create 1 unit type of dying unit at position of dying unit

It works...
 

aki15

New Member
Reaction score
5
Code:
Set
    Events
        Map initialization
    Conditions
    Actions
        Set creepGroup = (Units in (Playable map area) owned by Neutral Hostile (Dark Green))
        Unit Group - Pick every unit in creepGroup and do (Actions)
            Loop - Actions
                Set Integer = (Integer + 1)
                Set creepLocation[Integer] = (Position of (Picked unit))
                Unit - Set the custom value of (Picked unit) to Integer
                Custom script:   call DestroyGroup( udg_creepGroup )

Code:
Res
    Events
        Unit - A unit Dies
    Conditions
        (Owner of (Triggering unit)) Equal to Neutral Hostile
    Actions
        Wait 50.00 seconds
        Unit - Create 1 (Unit-type of (Triggering unit)) for Neutral Hostile at creepLocation[(Custom value of (Triggering unit))] facing (Random angle) degrees
        Unit - Set the custom value of (Last created unit) to (Custom value of (Triggering unit))

Just do this, above trigger that evilwolf posted will work, but it will be too stupid, because if u kill creep near your tower, he will respawn at that place... :)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top