How to make creeps wander

Giantpanda

New Member
Reaction score
1
Okay so i am creating a tag map where the enemies are all computer controlled. The problem is that I can't get the creeps to roam around the map effectively (or at alll). A general outline of what the trigger is comprised of is all i need.
 

RedRobster

New Member
Reaction score
0
Okay so i am creating a tag map where the enemies are all computer controlled. The problem is that I can't get the creeps to roam around the map effectively (or at alll). A general outline of what the trigger is comprised of is all i need.

srry but i rly dont kno how to do it. all i kno is that u r going to have a lot of fun using AI which is a rly complicated process. haha so good luck.
 

Hellohihi

New Member
Reaction score
42
You can add the Wander Ability to the creep.

However they don't actually move much using the wander ability.

So you can use a trigger too,

Trigger:
  • Events
    • Time - Every 10.00 seconds of game time
    • Conditions
    • Actions
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in (Units owned by Player 12 (Brown)) and do (Actions)
        • Loop - Actions
          • Set loc = (Random point in (Playable map area))
          • Unit - Order (Picked unit) to Attack-Move To loc
          • Custom script: call RemoveLocation(udg_loc)
 
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