Unit collision

elpini0

New Member
Reaction score
1
Hi, my problem is quite simple:

I want to make a game like CastlevsCastle in which trained units are ordered by a trigger to move to enemy's castle following a path in the middle of the map

-The path is the same for North and South Forces

-Trained units collide with the enemy but not with allies, as i set the collision radius to 0

QUESTION ----> How can i make to avoid trained units colliding with enemy units??
 

Nenad

~Choco Coronet~ Omnomnom
Reaction score
137
Turn off collision via:

Trigger:
  • Unit - Turn collision for (Last created unit) Off


This will make your units go through buildings/trees/cliffs so be careful. ^^
 

elpini0

New Member
Reaction score
1
Thank you very much, it worked!!

Trigger:
  • Collision Off
    • Events
      • Unit - A unit Finishes Training A Unit
    • Conditions
      • ((Trained unit) is Un zapador) Equal to True
    • Actions
      • Unit - Turn collision for (Trained unit) Off


"Un zapador" is the unit type in spanish that i chose for the units created ^^
 
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