• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] Respawn Trigger is not working as it should!

Status
Not open for further replies.
Level 3
Joined
Dec 27, 2012
Messages
36
The problem is the spawn trigger but I'll post all 3 of them...i don't know why it's not working, I followed the tutorials and such but it's still not working!

  • Creep Position
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in (Units in (Entire map) owned by Neutral Hostile) and do (Actions)
        • Loop - Actions
          • Set Integer = (Integer + 1)
          • Unit - Set the custom value of (Picked unit) to Integer
          • Set Point_CR[Integer] = (Position of (Picked unit))

  • Add Creep
    • Events
      • Unit - A unit enters (Entire map)
    • Conditions
      • (Owner of (Triggering unit)) Equal to Neutral Hostile
    • Actions
      • Set Integer = (Integer + 1)
      • Unit - Set the custom value of (Triggering unit) to Integer
      • Set Point_CR[Integer] = (Position of (Triggering unit))
  • Creep Respawn
    • Events
      • Unit - A unit owned by Neutral Hostile Dies
    • Conditions
      • ((Triggering unit) is Summoned) Equal to False
      • (Custom value of (Triggering unit)) Greater than 0
    • Actions
      • Wait 22.00 seconds
      • Unit - Create 1 (Unit-type of (Triggering unit)) for Neutral Hostile at Point_CR[(Custom value of (Triggering unit))] facing Default building facing degrees
      • Unit - Set the custom value of (Last created unit) to (Custom value of (Triggering unit))
Oh and one more thing...if anyone could post a good and simple Hero Respawn trigger that would be very nice :ogre_haosis:
 
Status
Not open for further replies.
Top