Making units belong to a player but not controllable?

Darkhalo288

New Member
Reaction score
0
Hey, i had an idea for my new map, what i wanted was unit spawns for each player and have them attack-move to certain parts. But what i wanted to know is, is there a way to have units belong to a player, but have it so the player cannot control or move the units at all, so the units go from spawn point to their destination without player interference?
 

simonake

New Member
Reaction score
72
Add to the unit the Ability "Locust"

the unit becomes Untouchable.

Ps: "Infestation" in french

if you want the unit to still be able to attack i suggest you this

Code:
Events
Player - Player red select a unit

Conditions
None

Actions
Remove (triggering unit) from selection for (Player red).

It should work.
 

HydraRancher

Truth begins in lies
Reaction score
197
Ignore trigger: (freehand)
Trigger:
  • Stop Trigger
    • Events
    • A unit is issued an order targeting a point
    • A unit is issued an order targeting an object
    • A unit is issued an order with no target
    • Conditions
    • Unit Type of Unit of issued order equal to blablabla
    • Actions
    • order unit to order(stop)
 

simonake

New Member
Reaction score
72
PHP:
Events
Unit - A unit dies

Condtions
none

Actions
Custom call Itwasjustatest(udg_thx)
 

lindenkron

You can change this now in User CP
Reaction score
102
Trigger:
  • Unit - Enter region 0001


kk ty its very nice :p

Right click the trigger in your World Editor -> Select Copy as Text. Paste in between two [NOPARSE]
Trigger:
[/NOPARSE] tags.

-Lindenkron
 

simonake

New Member
Reaction score
72
Trigger:
  • If blue not enought
    • Evénements
      • Temps - Every 0.10 seconds of game time
    • Conditions
      • (Full security <gen> contains Claimers[2]) Egal Ã_ TRUE
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • Si - Conditions
          • (Joueur 1 (Rouge) Or actuel) Inférieur ou égal Ã_ 9
        • Alors - Actions
          • Unité - Move Claimers[2] instantly to (Random point in Entire tower area <gen>)
          • Quête - Display to (Player group(Joueur 2 (Bleu))) the Avertissement message: You dont have enoug...
          • Caméra - Pan camera for Joueur 2 (Bleu) to (Position of Claimers[2]) over 1.00 seconds
        • Sinon - Actions


French shit
 

HydraRancher

Truth begins in lies
Reaction score
197
btw simonake if you wish to know how somebody did something, quote it but dont actually post that way you can read what they did.
 
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