• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[Trigger] Im guessing this is a basic trigger question

Status
Not open for further replies.
Level 10
Joined
Jul 22, 2008
Messages
362
  • Events
    • Unit - Rat 0035 <gen> Dies
  • Actions
    • Wait 5.00 seconds
    • Unit - Replace (Triggering unit) with a Rat using The new unit's default life and mana
Yeah I need to make this a looping action so that the rats will keep on coming. Help with this would be great.:thumbs_up:
 
Level 13
Joined
Sep 14, 2008
Messages
1,407
  • Events
    • Unit - Rat 0035 <gen> Dies
  • Actions
    • Wait 5.00 seconds
    • For (Integer A) 1 - "maxRatNumber" (you can choose it)
    • Unit - Create 1 Rat at (position of (triggering unit)) using "any direction"
I didn't have we so I wrote the trigger from mind... I am not sure wether they are exactly right but they work
 
Status
Not open for further replies.
Top