Can this be done without triggers? In validators I can only see terrain type wich only works for hole terrain sets..
I can do it with triggers, regions and buff applied to units but is there a way to do this with pure data?
I made a search and found nothing so sorry if this was already answered...
Rollback Post to RevisionRollBack
I like the lore. Check my latest projects at:
My Profile and My Team
Well, you can mark an area with units and check for them with search effects or enum area validators, however I wouldn't really recommend that, since it would be either very inaccurate or kill performance. Other than that, no, it is not possible to check for terrain type in data or in triggers, you will always need to define your terrain areas manually. You can check for creep or non-creep though, if 2 different terrain areas are enouch for you.
Yeah, it seems that way, the other way would be to actually make another type of invisible creep and see if validator react to it.. but would be to much work to set different creeps for each terrain buff and giving the buff to doodad or unit wich must be on terrain type site.. bla bla bla bla...
I did it with the Terrain Texture At Point trigger, it works perfect, i just have to set it for each texture but it can be done:
! Any unit uses Move ability
> Terrain Texture at triggering unit point = Xil Rocky Dirt
% Add 1 On Rubble behavior to triggering unit..
I actually did it with if then else stuff with each terrain for each if then else and each behavior... Too bad blizz made the validator for the texture set but not the individual ones...
Can this be done without triggers? In validators I can only see terrain type wich only works for hole terrain sets.. I can do it with triggers, regions and buff applied to units but is there a way to do this with pure data?
I made a search and found nothing so sorry if this was already answered...
Well, you can mark an area with units and check for them with search effects or enum area validators, however I wouldn't really recommend that, since it would be either very inaccurate or kill performance. Other than that, no, it is not possible to check for terrain type in data or in triggers, you will always need to define your terrain areas manually. You can check for creep or non-creep though, if 2 different terrain areas are enouch for you.
Apparently there's a Terrain Texture At Point trigger function, knowing Blizzard it might be broken but give it a shot.
@Kueken531: Go @zorbotron: Go
Yeah, it seems that way, the other way would be to actually make another type of invisible creep and see if validator react to it.. but would be to much work to set different creeps for each terrain buff and giving the buff to doodad or unit wich must be on terrain type site.. bla bla bla bla...
I did it with the Terrain Texture At Point trigger, it works perfect, i just have to set it for each texture but it can be done:
! Any unit uses Move ability
> Terrain Texture at triggering unit point = Xil Rocky Dirt
% Add 1 On Rubble behavior to triggering unit..
I actually did it with if then else stuff with each terrain for each if then else and each behavior... Too bad blizz made the validator for the texture set but not the individual ones...
Thank you both anyway!