| 03-12-2004, 01:14 PM | #1 |
How do i make a unit shoot inaccurate projectiles that doesnt hit always even if the target doesn't move? As i know it can only be done via triggers but HOW? Example: im getting boored of those mortars always shoot in the right direction its so unreal. By the way im SURE it can be done, if you dont belive me then go play a tank commaders and you see. |
| 03-12-2004, 02:14 PM | #2 |
I don't know if this is the most effecient way of accomplishing the task, but if you wanted you could create invisible enemy units with crazy high health and health regeneration and just place them around the map and order them to patrol to different areas. Then, depending on how many invisible units were out there the mortar team would sometimes shoot at them instead of shooting the real enemy, thus appearing to be shooting at nothing. |
| 03-12-2004, 02:44 PM | #3 |
If the "tanks" dont have any aquasition range (meaning you have to click attack on enemy), then you can use this trigger: Code:
Inaccurate
Events
Unit - A unit Is attacked
Conditions
Actions
Unit - Order (Attacking unit) to Attack Ground (Random point in (Region centered at (Position of (Attacked unit)) with size (200.00, 200.00)))Im not sure this will work, you might have to exchange the EVENT to "a unit is issued an order targeting an object" and then check if its a unit, and if so use this inaccurate shot trigger. And if you want this inaccurate shots only to work for some units, juts use IF THEN ELSE before and check unit type of attacking unit. gl... i might use this for my own map:P (cuz i just got the idea while reading this) |
| 03-12-2004, 06:33 PM | #4 | |
Quote:
Hmm, could try it out thanks. |
| 03-12-2004, 11:37 PM | #5 | |
Quote:
|
