• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Modifying Damage Engine Not Working

Status
Not open for further replies.
Level 19
Joined
Aug 8, 2007
Messages
2,765
Thats probably a bad word for it, but whatever

  • Damage Engine Fix
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
        • Loop - Actions
          • Game - Display to (All players) the text: fdasfasdf
          • Trigger - Add to Damage Engine <gen> the event (Unit - (Picked unit) Takes damage)
This returns a ton of fdefiasdfsauidf but still the pre-placed units aren't affected by the damage engine. (the problem ive been having with the system is that pre-placed units arent getting registered by the damage event) Why arent they being affected?

Alternatively, why does this fatal error

  • FFFFFFFFFFFFFFFFF
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
        • Loop - Actions
          • Custom script: set udg_TempInt = GetUnitTypeId(GetEnumUnit())
          • Set TempLoc = (Position of (Picked unit))
          • Set Temp_Integer = (Player number of (Owner of (Picked unit)))
          • Set TempReal = (Facing of (Picked unit))
          • Unit - Remove (Picked unit) from the game
          • Custom script: call CreateNUnitsAtLoc( 1, udg_TempInt, Player(udg_Temp_Integer), udg_TempLoc, udg_TempReal )
          • Custom script: call RemoveLocation(udg_TempLoc)
e/ just eralized i forgot bj_wantdestroygroup in both those
 
Last edited:
Status
Not open for further replies.
Top