Hey folks,
Im trying to do make a road system...
well,
It really working very well(not working when delete wait 00) but i have a problem
Just ground texture is kinda like road... its very good for my road while that thing doesnt have model . but ...
... when i delete model or replace it with empty model(i mean rename a .txt file to somethin.mdx) trigger doesnt working
can you make a trigger which is working for not modeled building or make a road which is only can build up on it and near of it and looking like road
its going to be single player map, and size is not bigger than 300x300 so leak is not that big problem.
Thanks.
Im trying to do make a road system...
well,
Trigger:
- Untitled Trigger 001 Copy 2
- Events
- Unit - A unit Begins construction
- Conditions
- Actions
- Unit Group - Pick every unit in (Units within 300.00 of (Position of (Constructing structure))) and do (Actions)
- Loop - Actions
- Set Peon = (Picked unit)
- Loop - Actions
- Wait 0.00 seconds
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Number of units in (Units within 300.00 of (Position of (Constructing structure)) matching ((Unit-type of (Matching unit)) Equal to Farm))) Equal to 0
- Then - Actions
- Set asd = (Position of (Constructing structure))
- Unit - Kill (Constructing structure)
- Unit - Move Peon instantly to asd
- Custom script: call RemoveLocation(udg_asd)
- Else - Actions
- If - Conditions
- Unit Group - Pick every unit in (Units within 300.00 of (Position of (Constructing structure))) and do (Actions)
- Events
It really working very well(not working when delete wait 00) but i have a problem
Just ground texture is kinda like road... its very good for my road while that thing doesnt have model . but ...
... when i delete model or replace it with empty model(i mean rename a .txt file to somethin.mdx) trigger doesnt working
can you make a trigger which is working for not modeled building or make a road which is only can build up on it and near of it and looking like road
its going to be single player map, and size is not bigger than 300x300 so leak is not that big problem.
Thanks.