• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Escapes, unclickeable units...

Status
Not open for further replies.
Level 6
Joined
Sep 15, 2006
Messages
136
(thxs...) I have set locust and now them are uclickeable, but there's a problem, when there are unclickleable the trigger that kill escapers when comes too near don't works if them have locust ability, ¡please help!
 
Level 4
Joined
Jul 12, 2007
Messages
116
Than use a select/deselect trigger.

Something like this:

  • SD by Warlord
    • Events
      • Player - Player 1 (Red) Selects a unit
      • Player - Player 2 (Blue) Selects a unit
      • Player - Player 3 (Teal) Selects a unit
      • Player - Player 4 (Purple) Selects a unit
    • Conditions
    • Actions
      • Selection - Remove (Triggering unit) from selection for (Owner of (Triggering unit))

:thumbs_up:
 
Level 6
Joined
Sep 15, 2006
Messages
136
Ok, but what I do now? The "horrible trigger" ? my killing trigger is the next:

Events: A unit comes with 60.00 of fire lord or bloc glace.
Conditions: Not for player 10
Actions: kill unit ...

there are any trigger that kills escaper but works with locust??
 
Level 13
Joined
Nov 22, 2006
Messages
1,260
There was a JASS function posted a while back, dunno if its still around.. Was made by Kattana I believe.
--donut3.5--

PreventUnitSelection

It leaks a triggeraction though.....also, the trigger is not nullified.

Read the instructions.

Locust is not listed in the Ability list (that's what irritates me) and the only way to add Locust to a unit with triggers is using JASS
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
hey hey hey slow down Easiest solutions from here buy them from me yea well
Hmm gruop enemy units in a group then add locust and dont check for escapers check for enemy units well let me explain

Trigger - Map Init
Actions
Pick every unit owned by enemy player and do actions
add picked unit to enemy group (unit group variable)
add locust to picked unit

Trigger - 0.10 periodic event
Actions
Pick every unit in emeny group and do actions
Set picked unit = blabla (unit variable)
Pick every unit in range of 200 center of blabla
if player of picked unit is enemy of player of blabla
kill picked unit

Well simple but long I use it sometimes
Immolation doesnt work sometimes
 
Level 7
Joined
Sep 9, 2007
Messages
253
Try this... Let player 10 units have locust ability and make the following trigger:

Events: A unit comes within 60.00 of fire lord or bloc glace.

Conditions: owner of unit is enemy of player 10

Actions:
Unit - Create 1 Dummy Unit for (player 10) at (Position of (Triggering unit)) facing Default building facing degrees
Unit - Add a 2 second Generic expiration timer to (Last created unit)
Unit - Add KILL ABILITY to (Last created unit)
Unit - Order (Last created unit) to KILL ABILITY (Triggering unit)

KILL ABILITY = make a storm bolt or some such ability which does a huge amount of damage and kills the escape units with 1 shot.

I havnt tested this so not sure if it is going to work, although i dont see why your trigger isnt working, my first guess is the locust ability bugs the event in your trigger "comes with 60 of" my trigger uses the same event so from that logic mine wont work either. shrug.
 
Status
Not open for further replies.
Top