• 🏆 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!
  • ✅ Time to vote for the top 3 models! The POLL for Hive's 6th HD Modeling Contest: Mechanical is now open! 📅 Poll close on July 16, 2024! 🔗 Cast your vote now!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

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