Real quick help

Status
Not open for further replies.
Level 14
Joined
Nov 18, 2007
Messages
1,084
I think this should help...

  • This is sparta
    • Events
      • Player - Player 1 (Red) types a chat message containing THIS IS SPARTA!!! as An exact match
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units of type Spartans) and do (Actions)
        • Loop - Actions
          • Unit - Set life of (Picked unit) to 100.00%
          • -------- Optional --------
          • Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Human\Heal\HealTarget.mdl

@TurboJyri
Shouldn't you post in a separate thread?
 
Level 9
Joined
Aug 11, 2007
Messages
429
they aret on the map yet, is that a problem?

hmm it still not working, and i did the exact thing.

EDIT: FIXED
 
Last edited by a moderator:
Level 4
Joined
Dec 4, 2007
Messages
76
This trigger is similar to Watermelon's trigger except instead of just picking every spartan, it picks every unit owned by player 1 red and heals them. And since im guessing your making a 300 map, all player 1 red should be is spartans...So therefore this trigger should work.

  • Sparta
    • Events
      • Player - Player 1 (Red) types a chat message containing THIS IS SPARTA!!! as An exact match
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units owned by Player 1 (Red)) and do (Actions)
        • Loop - Actions
          • Unit - Set life of (Picked unit) to 100.00%
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
I think this should help...

  • This is sparta
    • Events
      • Player - Player 1 (Red) types a chat message containing THIS IS SPARTA!!! as An exact match
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units of type Spartans) and do (Actions)
        • Loop - Actions
          • Unit - Set life of (Picked unit) to 100.00%
          • -------- Optional --------
          • Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Human\Heal\HealTarget.mdl

@TurboJyri
Shouldn't you post in a separate thread?

  • This is sparta
    • Events
      • Player - Player 1 (Red) types a chat message containing THIS IS SPARTA!!! as An exact match
    • Conditions
    • Actions
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in (Units of type Spartans) and do (Actions)
        • Loop - Actions
          • Unit - Set life of (Picked unit) to 100.00%
          • -------- Optional --------
          • Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Human\Heal\HealTarget.mdl
          • Special Effect - Destroy (Last Created Effect)
would be better
 
Status
Not open for further replies.
Top