Diablo-Like Summons

Spray-

Member
Reaction score
1
Hi! Im looking for a trigger for diablo-like summons, meaning if my hero summons a .. say Rat, the player wouldnt be able to tell the Rat where to go or what to attack, it would just do everything automaticly, but always hover around the Hero.

Thanks in advance for any help :)
 

bOb666777

Stand against the ugly world domination face!
Reaction score
117
Uhhhhh, first of, i'd give it the Ward classification and I would add this trigger:
Trigger:
  • PreventControl
    • Events
      • Unit - A unit is issued an order targetting a point
      • Unit - A unit is issued an order targetting an object
    • Conditions
      • (Issued order) Equal to (Order(smart))
    • Actions
      • Unit - Pause (Ordered unit)
      • Unit - Order (Ordered unit) to Stop
      • Unit - Unpause (Ordered unit)



Then add this to conditions:
Trigger:
  • Or - Any Conditions are true
    • Unit-Type of (Ordered Unit) Equal to Peasant
    • Unit-Type of (Ordered Unit) Equal to Peon
    • Unit-Type of (Ordered Unit) Equal to Acolyte
    • Unit-Type of (Ordered Unit) Equal to Wisp



Then change the Peasant/Peon/Acolyte/Wisp to whatever units you want to be uncontrollable

Now that they're uncontrollable, i would just add a third trigger that checks if theyre too far, if so, order them to move to a random point near hero.

If you can't do it yourself, just ask, shouldn't be too hard though.

@simonake: AI editor is more for creating an entire race, and it's for comps only. He wants the unit to be owned by the player, but not controllable.
 
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