Hi all! Just a little information: is that possible to create something like a region or a doodad that cannot be traspassed/walked by a specified type of unit or by units of a specified player?
You can use regions and triggers, or you can use doodads/units. regions/triggers have more control over the area than doodads/units. If you using units, you'll likely want an invisible unit, and use the ground/air collision flags to determine which unit can get past it. be sure to change the unit interaction radius, or it won't work. That's basically what I'm using for hover units to allow them to pass over water, but not other units. Like I said, not nearly as much control as regions/triggers but has a similar effect.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi all! Just a little information: is that possible to create something like a region or a doodad that cannot be traspassed/walked by a specified type of unit or by units of a specified player?
Not 100% sure, but I think you need to use triggers for such specific things.
You can use regions and triggers, or you can use doodads/units. regions/triggers have more control over the area than doodads/units. If you using units, you'll likely want an invisible unit, and use the ground/air collision flags to determine which unit can get past it. be sure to change the unit interaction radius, or it won't work. That's basically what I'm using for hover units to allow them to pass over water, but not other units. Like I said, not nearly as much control as regions/triggers but has a similar effect.